deliverable/binutils-gdb.git
28 years ago * README: Add notes on how to build if you don't have ar.
Ian Lance Taylor [Thu, 6 Jun 1996 19:14:16 +0000 (19:14 +0000)] 
* README: Add notes on how to build if you don't have ar.

28 years ago.Sanitize cleanups for IDK
Tom Tromey [Thu, 6 Jun 1996 16:34:49 +0000 (16:34 +0000)] 
.Sanitize cleanups for IDK

28 years ago * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
Ian Lance Taylor [Thu, 6 Jun 1996 16:31:03 +0000 (16:31 +0000)] 
* gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
test.

28 years ago * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
Ian Lance Taylor [Thu, 6 Jun 1996 16:23:04 +0000 (16:23 +0000)] 
* emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
rather than . when computing _gp value.  From Per Fogelstrom.
* emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.

28 years ago * ldmain.c (main): Don't close and unlink the file on error, since
Ian Lance Taylor [Thu, 6 Jun 1996 16:07:23 +0000 (16:07 +0000)] 
* ldmain.c (main): Don't close and unlink the file on error, since
remove_output will do it anyhow.
* ldlang.c (open_output): Set boolean variable to true, not 1.

28 years ago * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
Ian Lance Taylor [Thu, 6 Jun 1996 15:30:28 +0000 (15:30 +0000)] 
* config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
From Kevin Buettner <kev@primenet.com>.

28 years agoRemove cygnus local comments from install-sh and install.sh.
Gordon Irlam [Wed, 5 Jun 1996 19:38:35 +0000 (19:38 +0000)] 
Remove cygnus local comments from install-sh and install.sh.

28 years agoLatest changes from Andrew
Michael Meissner [Wed, 5 Jun 1996 16:02:54 +0000 (16:02 +0000)] 
Latest changes from Andrew

28 years agoWed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 5 Jun 1996 15:11:10 +0000 (15:11 +0000)] 
Wed Jun  5 01:52:57 1996  James G. Smith  <jsmith@cygnus.co.uk>

  * configure.in (configdirs): Force 4100 builds to use 4300 GDB
   target.
* configure: Rebuild.

* config/mips/vr4300el.mt (SIM_OBS): Include simulator in
  little-endian builds.

28 years agoWed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 5 Jun 1996 08:16:16 +0000 (08:16 +0000)] 
Wed Jun  5 08:28:13 1996  James G. Smith  <jsmith@cygnus.co.uk>

* configure.in: Define @SIMCONF@ depending on mips target.
* configure: Rebuild.
* Makefile.in (run): Add @SIMCONF@ to control simulator
  construction.
* gencode.c: Change LOADDRMASK to 64bit memory model only.
* interp.c: Remove some debugging, provide more detailed error
  messages, update memory accesses to use LOADDRMASK.

28 years ago * config.guess: Merge with FSF:
Per Bothner [Wed, 5 Jun 1996 03:48:09 +0000 (03:48 +0000)] 
* config.guess:  Merge with FSF:

Mon Jun  3 08:49:14 1996  Karl Heuer  <kwzh@gnu.ai.mit.edu>
* config.guess (*:Linux:*:*): Add guess for sparc-unknown-linux.

Fri May 24 18:34:53 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
* config.guess (AViiON:dgux:*:*): Fix typo in recognizing mc88110.

Fri Apr 12 20:03:59 1996  Per Bothner  <bothner@spiff.gnu.ai.mit.edu>
* config.guess:  Combine two OSF1 rules.
Also recognize field test versions.  From mjr@zk3.dec.com.
* config.guess (dgux):  Use /usr/bin/uname rather than uname,
because GNU uname does not support -p.  From pmr@pajato.com.

28 years agoAdd install.sh copyright terms from X11R5.
Gordon Irlam [Wed, 5 Jun 1996 01:24:52 +0000 (01:24 +0000)] 
Add install.sh copyright terms from X11R5.

28 years ago * ldcref.c: New file.
Ian Lance Taylor [Tue, 4 Jun 1996 23:37:13 +0000 (23:37 +0000)] 
* ldcref.c: New file.
* ld.h (add_cref, output_cref): Declare.
* ldmain.c (main): Initialize notice_all field.  If it is set at
end of link, call output_cref.
(notice): Rename from notice_ysym.  Check notice_all.
* ldmisc.c (finfo): Make globally visible.
* ldmisc.h (finfo): Declare.
* lexsup.c (OPTION_CREF): Define.
(ld_options): Add "cref".
(parse_args): Handle OPTION_CREF.
* Makefile.in: Rebuild dependencies.
(CFILES): Add ldcref.c.
(OFILES): Add ldcref.o.
* ld.texinfo, ld.1: Document --cref.

28 years ago * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
Ian Lance Taylor [Tue, 4 Jun 1996 23:11:00 +0000 (23:11 +0000)] 
* linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
set, always call the notice callback.

* VERSION: Increment for bfdlink.h change.

28 years ago * Makefile.in (install): Don't check to see if tooldir exists.
Tom Tromey [Tue, 4 Jun 1996 22:16:01 +0000 (22:16 +0000)] 
    * Makefile.in (install): Don't check to see if tooldir exists.
        Make $(tooldir) and $(tooldir)/bin.

28 years ago * Makefile.in (MAKEDIRS): Removed $(tooldir).
Tom Tromey [Tue, 4 Jun 1996 21:35:58 +0000 (21:35 +0000)] 
    * Makefile.in (MAKEDIRS): Removed $(tooldir).

28 years agoDo not turn on -mregnames by default
Michael Meissner [Tue, 4 Jun 1996 15:02:47 +0000 (15:02 +0000)] 
Do not turn on -mregnames by default

28 years agoBuild psim on ppc SVR4, Solaris, and Elf targets.
Michael Meissner [Tue, 4 Jun 1996 13:27:31 +0000 (13:27 +0000)] 
Build psim on ppc SVR4, Solaris, and Elf targets.

28 years agoMake main an int function, not void
Michael Meissner [Mon, 3 Jun 1996 21:40:45 +0000 (21:40 +0000)] 
Make main an int function, not void

28 years ago * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
Ian Lance Taylor [Mon, 3 Jun 1996 21:13:41 +0000 (21:13 +0000)] 
* coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
(sh_relax_delete_bytes): Correct handling of differently sized
trailing alignment reloc.

28 years agoAbort if we find the program has an .interp section
Michael Meissner [Mon, 3 Jun 1996 20:26:09 +0000 (20:26 +0000)] 
Abort if we find the program has an .interp section

28 years ago * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.
Ian Lance Taylor [Mon, 3 Jun 1996 20:20:11 +0000 (20:20 +0000)] 
* bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.
* bfd-in2.h: Rebuild.
* configure.in: Warn if there is no known 64 bit type.
* configure: Rebuild.

28 years agoAdd time, gettimeofday, and getrusage system call support
Michael Meissner [Mon, 3 Jun 1996 19:10:25 +0000 (19:10 +0000)] 
Add time, gettimeofday, and getrusage system call support

28 years ago * inftarg.c (child_thread_alive): Protect declaration with
Jeff Law [Mon, 3 Jun 1996 17:59:03 +0000 (17:59 +0000)] 
    * inftarg.c (child_thread_alive): Protect declaration with
        #ifndef CHILD_THREAD_ALIVE.
Fixes net buglet.

28 years ago * source.c (find_source_lines): Check the time on the symtab's bfd if
Jeff Law [Mon, 3 Jun 1996 17:49:28 +0000 (17:49 +0000)] 
    * source.c (find_source_lines): Check the time on the symtab's bfd if
        it exists, else check the time on the exec_bfd.
Fixes net buglet reported by Michael Snyder @ NeXT.

28 years ago * Makefile.in (end.h): Use explicit ./ when running end.
Ian Lance Taylor [Mon, 3 Jun 1996 16:34:24 +0000 (16:34 +0000)] 
* Makefile.in (end.h): Use explicit ./ when running end.

28 years ago * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
Ian Lance Taylor [Mon, 3 Jun 1996 15:58:45 +0000 (15:58 +0000)] 
* configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
AC_CHECK_LIB, and AC_CHECK_FUNCS.  Change AC_OUTPUT to set
stamp-h.
* configure: Rebuild.
* config.in: New file, generated by autoheader.
* interp.c: Include "config.h".  Include <stdlib.h>, <string.h>,
and <strings.h> if they exist.  Replace #ifdef sun with #ifdef
HAVE_ANINT and HAVE_AINT, as appropriate.
* Makefile.in (run): Use @LIBS@ rather than -lm.
(interp.o): Depend upon config.h.
(Makefile): Just rebuild Makefile.
(clean): Remove stamp-h.
(mostlyclean): Make the same as clean, not as distclean.
(config.h, stamp-h): New targets.

28 years ago * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
Ian Lance Taylor [Mon, 3 Jun 1996 15:36:04 +0000 (15:36 +0000)] 
* config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
insn_error.  Don't put the string "ERROR" in insn_error.  Set
insn_error rather than calling as_warn for an unsupported opcode.

28 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Mon, 3 Jun 1996 15:17:34 +0000 (15:17 +0000)] 
* Makefile.in: Rebuild dependencies.
  (BFD32_BACKENDS): Add ppcboot.o.
(BFD32_BACKENDS_CFILES): Add ppcboot.c.

28 years ago * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c.
Ian Lance Taylor [Mon, 3 Jun 1996 15:04:14 +0000 (15:04 +0000)] 
* elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c.
From Per Fogelstrom <per.fogelstrom@mailbox200.swipnet.se>.

28 years agoAdd Solaris and Linux emulations
Michael Meissner [Sun, 2 Jun 1996 15:40:16 +0000 (15:40 +0000)] 
Add Solaris and Linux emulations

28 years ago * config/tc-mips.c (md_parse_option): Check for a 64 bit format
Ian Lance Taylor [Sun, 2 Jun 1996 01:55:28 +0000 (01:55 +0000)] 
* config/tc-mips.c (md_parse_option): Check for a 64 bit format
before permitting -64.
* output-file.c (output_file_create): Remove duplicate
bfd_perror.

28 years ago * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in)
Ian Lance Taylor [Sun, 2 Jun 1996 01:51:55 +0000 (01:51 +0000)] 
* elf64-mips.c (bfd_mips_elf64_swap_reginfo_in)
(bfd_mips_elf64_swap_reginfo_out): Move from here...
* elf32-mips.c (bfd_mips_elf64_swap_reginfo_in)
(bfd_mips_elf64_swap_reginfo_out): ...to here.

28 years ago * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
Ian Lance Taylor [Fri, 31 May 1996 21:46:14 +0000 (21:46 +0000)] 
* config/tc-mips.c (md_begin): If -64, create a .MIPS.options
section rather than a .reginfo section.
(mips_elf_final_processing): If -64, write out 64 bit RegInfo
information.

28 years ago * elf64-mips.c: Improve reloc special_functions and handling of
Ian Lance Taylor [Fri, 31 May 1996 21:43:35 +0000 (21:43 +0000)] 
* elf64-mips.c: Improve reloc special_functions and handling of
SHT_MIPS_OPTIONS section.
* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from
mips_elf_hi16_reloc and make globally visible.
(_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and
make globally visible.
(_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and
make globally visible.
(_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc
and make globally visible.
(gprel16_with_gp): Check howto->src_mask before using value in
insn.
(_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc
and make globally visible.
(gprel32_with_gp): Check howto->src_mask before fetching value.
(bfd_mips_elf_swap_options_in): New function.
(bfd_mips_elf_swap_options_out): New function.
(_bfd_mips_elf_set_private_flags): Rename from
mips_elf_set_private_flags and make globally visible.
(_bfd_mips_elf_copy_private_bfd_data): Rename from
mips_elf_copy_private_bfd_data and make globally visible.
(_bfd_mips_elf_merge_private_bfd_data): Rename from
mips_elf_merge_private_bfd_data and make globally visible.
(_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name
for a SHT_MIPS_OPTIONS section.
(mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section.
(_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the
name of a SHT_MIPS_OPTIONS section.
(_bfd_mips_elf_set_section_contents): New function.
(mips_elf32_section_processing): Set the GP value in a
SHT_MIPS_OPTIONS section.
(_bfd_mips_elf_find_nearest_line): Rename from
mips_elf_find_nearest_line and make globally visible.
(bfd_elf32_set_section_contents): Define.
* elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_gprel16_reloc): Declare.
(_bfd_mips_elf_got16_reloc): Declare.
(_bfd_mips_elf_gprel32_reloc): Declare.
(_bfd_mips_elf_set_private_flags): Declare.
(_bfd_mips_elf_copy_private_bfd_data): Declare.
(_bfd_mips_elf_merge_private_bfd_data): Declare.
(_bfd_mips_elf_find_nearest_line): Declare.
(_bfd_mips_elf_set_section_contents): Declare.

28 years ago * elf32-hppa.c (elf32_hppa_info_to_howto): Rename from
Ian Lance Taylor [Fri, 31 May 1996 18:12:22 +0000 (18:12 +0000)] 
* elf32-hppa.c (elf32_hppa_info_to_howto): Rename from
elf_info_to_howto.
(elf_info_to_howto): Define.
* elf32-sparc.c (elf32_sparc_info_to_howto): Rename from
elf_info_to_howto.
(elf_info_to_howto): Define.
* elf64-sparc.c (sparc64_elf_info_to_howto): Rename from
elf_info_to_howto.
(elf_info_to_howto): Define.

28 years ago * nm.c (filter_symbols): Check for BSF_WEAK as well as
Ian Lance Taylor [Fri, 31 May 1996 18:10:44 +0000 (18:10 +0000)] 
* nm.c (filter_symbols): Check for BSF_WEAK as well as
BSF_GLOBAL.
* objcopy.c (filter_symbols): Likewise.

28 years agoKeep abug.exp
Jeff Law [Fri, 31 May 1996 17:11:51 +0000 (17:11 +0000)] 
Keep abug.exp

28 years ago * emultempl/pe.em (sort_sections): Don't assume that a
Ian Lance Taylor [Fri, 31 May 1996 16:43:12 +0000 (16:43 +0000)] 
* emultempl/pe.em (sort_sections): Don't assume that a
wild_statement has a section name.

28 years ago * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
Ian Lance Taylor [Fri, 31 May 1996 05:10:20 +0000 (05:10 +0000)] 
* config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
bit value with the high bit set.

28 years agoMake ! a comment only under Solaris; Add .rdata/.rodata pseduo ops
Michael Meissner [Fri, 31 May 1996 01:16:10 +0000 (01:16 +0000)] 
Make ! a comment only under Solaris; Add .rdata/.rodata pseduo ops

28 years ago * config/tc-mips.c (mips_64): New static variable.
Ian Lance Taylor [Thu, 30 May 1996 23:08:47 +0000 (23:08 +0000)] 
* config/tc-mips.c (mips_64): New static variable.
(mips_target_format): If mips_64, return elf64 targets rather than
elf32 ones.
(md_longopts): Add "32" and "64".
(md_parse_option): Handle -32 and -64.
(md_show_usage): Mention -32 and -64.
(cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
a 4 byte one.

28 years ago * read.c (s_lcomm): Set section flags for .sbss section.
Ian Lance Taylor [Thu, 30 May 1996 23:04:52 +0000 (23:04 +0000)] 
* read.c (s_lcomm): Set section flags for .sbss section.

28 years ago * elf64-mips.c: Extensive additions to provide better support for
Ian Lance Taylor [Thu, 30 May 1996 22:33:51 +0000 (22:33 +0000)] 
* elf64-mips.c: Extensive additions to provide better support for
writing files and for gas.
* elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out
of mips_elf_object_p.
(mips_elf32_object_p): Rename from mips_elf_object_p; call
_bfd_mips_elf_object_p.
(_bfd_mips_elf_final_write_processing): Rename from
mips_elf_final_write_processing and make globally visible.
(_bfd_mips_elf_fake_sections): Rename from
mips_elf_fake_sections and make globally visible.
(_bfd_mips_elf_section_from_bfd_section): Rename from
mips_elf_section_from_bfd_section and make globally visible.
(_bfd_mips_elf_section_processing): New function, broken out of
mips_elf_section_processing.
(mips_elf32_section_processing): Rename from
mips_elf_section_processing; call
_bfd_mips_elf_section_processing.
(_bfd_mips_elf_symbol_processing): Rename from
mips_elf_symbol_processing and make globally visible.
(_bfd_mips_elf_read_ecoff_info): Rename from
mips_elf_read_ecoff_info and make globally visible.
(mips_elf32_ecoff_debug_swap): Rename from
mips_elf_ecoff_debug_swap.
* elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than
struct symbol_cache_entry.
(_bfd_elf_validate_reloc): New function, moved in from
elfcode.h:validate_reloc.
* elfcode.h (validate_reloc): Remove; moved into elf.c and renamed
to _bfd_elf_validate_reloc.  Change all callers.
* elf-bfd.h (bfd_section_from_shdr): Declare.
(_bfd_elf_symbol_from_bfd_symbol): Declare.
(_bfd_elf_validate_reloc): Declare.
(_bfd_mips_elf_object_p): Declare.
(_bfd_mips_elf_fake_sections): Declare.
(_bfd_mips_elf_section_from_bfd_section): Declare.
(_bfd_mips_elf_section_processing): Declare.
(_bfd_mips_elf_symbol_processing): Declare.
(_bfd_mips_elf_read_ecoff_info): Declare.
(_bfd_mips_elf_final_write_processing): Declare.
* elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define
if already defined.

28 years agoMake ! a comment character
Michael Meissner [Thu, 30 May 1996 19:22:16 +0000 (19:22 +0000)] 
Make ! a comment character

28 years ago * gdb.base/callfuncs.exp: Finish last change -- make sure the
Jeff Law [Thu, 30 May 1996 17:38:32 +0000 (17:38 +0000)] 
    * gdb.base/callfuncs.exp: Finish last change -- make sure the
        prototype information ends up in the compiler info file.

28 years ago * dsrec.c (make_srec): Fix calculation of address size
Mark Alexander [Thu, 30 May 1996 16:58:48 +0000 (16:58 +0000)] 
* dsrec.c (make_srec):  Fix calculation of address size
to allow addresses less than 0x100.

28 years ago * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
Ian Lance Taylor [Thu, 30 May 1996 16:43:11 +0000 (16:43 +0000)] 
* elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
(mips_elf_final_write_processing): Likewise.

28 years ago * mips.h (E_MIPS_ARCH_4): Define.
Ian Lance Taylor [Thu, 30 May 1996 16:36:27 +0000 (16:36 +0000)] 
* mips.h (E_MIPS_ARCH_4): Define.

28 years agoMake 4 argument .stabd into .stabn on PowerPC Solaris
Michael Meissner [Thu, 30 May 1996 14:40:22 +0000 (14:40 +0000)] 
Make 4 argument .stabd into .stabn on PowerPC Solaris

28 years ago * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
Wilfried Moser [Thu, 30 May 1996 11:26:24 +0000 (11:26 +0000)] 
    * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.

28 years ago * config/tc-mips.c (macro): When passing X_add_number to
Ian Lance Taylor [Wed, 29 May 1996 20:46:07 +0000 (20:46 +0000)] 
* config/tc-mips.c (macro): When passing X_add_number to
macro_build, cast it to int first.

28 years ago * gas/mips/jal-xgot.d: Correct for 64 bit output.
Ian Lance Taylor [Wed, 29 May 1996 20:36:05 +0000 (20:36 +0000)] 
* gas/mips/jal-xgot.d: Correct for 64 bit output.

28 years ago 64-bit MIPS ELF ABI objdump support:
Ian Lance Taylor [Wed, 29 May 1996 20:33:00 +0000 (20:33 +0000)] 
64-bit MIPS ELF ABI objdump support:
* elf64-mips.c: New file.
* Makefile.in: Rebuild dependencies.
  (BFD64_BACKENDS): Add elf64-mips.o.
(BFD64_BACKENDS_CFILES): Add elf64-mips.c.
* config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and
bfd_elf64_littlemips_vec to targ_selvecs.
(mips*-*-elf*): Likewise.
* confingure.in: Add bfd_elf64_bigmips_vec and
bfd_elf64_littlemips_vec to vector switch.
* configure: Rebuild.
* elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function,
broken out of mips_elf_section_from_shdr.
(mips_elf32_section_from_shdr): Rename from
mips_elf_section_from_shdr.  Call new function.
(elf_backend_section_from_shdr): Update name of renamed function.
* elf-bfd.h (struct elf_size_info): Change second parameter of
write_out_phdrs to be const.  Likewise for second parameter of
swap_symbol_out.
(struct bfd_elf_section_data): Add rel_hdr2 field.
(bfd_elf32_swap_symbol_in): Change second parameter to be const.
(bfd_elf32_swap_symbol_out): Likewise.
(bfd_elf32_swap_reloc_in): Likewise.
(bfd_elf32_swap_reloc_out): Likewise.
(bfd_elf32_swap_reloca_in): Likewise.
(bfd_elf32_swap_reloca_out): Likewise.
(bfd_elf32_swap_phdr_in): Likewise.
(bfd_elf32_swap_phdr_out): Likewise.
(bfd_elf32_swap_dyn_in): Likewise.
(bfd_elf32_swap_dyn_out): Likewise.
(bfd_elf32_slurp_symbol_table): Declare.
(bfd_elf32_write_shdrs_and_ehdr): Declare.
(bfd_elf32_write_out_phdrs): Declare.
(bfd_elf64_swap_symbol_in): Change second parameter to be const.
(bfd_elf64_swap_symbol_out): Likewise.
(bfd_elf64_swap_reloc_in): Likewise.
(bfd_elf64_swap_reloc_out): Likewise.
(bfd_elf64_swap_reloca_in): Likewise.
(bfd_elf64_swap_reloca_out): Likewise.
(bfd_elf64_swap_phdr_in): Likewise.
(bfd_elf64_swap_phdr_out): Likewise.
(bfd_elf64_swap_dyn_in): Likewise.
(bfd_elf64_swap_dyn_out): Likewise.
(bfd_elf64_slurp_symbol_table): Declare.
(bfd_elf64_write_shdrs_and_ehdr): Declare.
(bfd_elf64_write_out_phdrs): Declare.
(_bfd_mips_elf_section_from_shdr): Declare.
* elf.c (bfd_section_from_shdr): Remove assertion requiring
SHT_REL/SHT_RELA to match use_rela_p.  If there is already a reloc
section for the section, add the new one to rel_hdr2.  Increment
reloc_count rather than setting it.
* elfcode.h (elf_slurp_symbol_table): Define name as macro.
Remove static declaration.
(elf_write_shdrs_and_ehdr): Define name as macro.
(elf_write_out_phdrs): Likewise.
(elf_swap_ehdr_in, elf_swap_ehdr_out): Declare.
(elf_swap_shdr_in, elf_swap_shdr_out): Declare.
(elf_swap_symbol_in): Change second parameter to be const.
(elf_swap_symbol_out): Likewise.
(elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise.
(elf_swap_shdr_in, elf_swap_shdr_out): Likewise.
(elf_swap_phdr_in, elf_swap_phdr_out): Likewise.
(elf_swap_reloc_in, elf_swap_reloc_out): Likewise.
(elf_swap_reloca_in, elf_swap_reloca_out): Likewise.
(elf_write_out_phdrs): Rename from write_out_phdrs.  Change second
parameter to be const.  Make non-static.
(elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr.
Make non-static.
(elf_slurp_symbol_table): Make non-static.
(NAME(_bfd_elf,size_info)): Update names of renamed functions.
* elfxx-target.h (elf_info_to_howto): Define if not defined.
(elf_backend_size_info): Likewise.
(elfNN_bed): Use elf_backend_size_info.
* targets.c (bfd_elf64_bigmips_vec): Declare.
(bfd_elf64_littlemips_vec): Declare.
(bfd_target_vector): Add bfd_elf64_bigmips_vec and
bfd_elf64_littlemips_vec if BFD64 is defined.

28 years ago * scripttempl/elfmips.sc: Quote test -z argument.
Ian Lance Taylor [Wed, 29 May 1996 20:10:22 +0000 (20:10 +0000)] 
* scripttempl/elfmips.sc: Quote test -z argument.

28 years ago * mips.h (Elf64_Mips_External_Rel): Define.
Ian Lance Taylor [Wed, 29 May 1996 19:36:40 +0000 (19:36 +0000)] 
* mips.h (Elf64_Mips_External_Rel): Define.
(Elf64_Mips_Internal_Rel): Define.
(Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define.
(RSS_*): Define.

28 years ago * ld.texinfo: Clarify the CONSTRUCTORS command.
Ian Lance Taylor [Wed, 29 May 1996 17:14:24 +0000 (17:14 +0000)] 
* ld.texinfo: Clarify the CONSTRUCTORS command.

28 years agoRemoved EINVAL reference in remote-mips.c, and put a hardcoded 22 in its
Geoffrey Noer [Tue, 28 May 1996 23:20:12 +0000 (23:20 +0000)] 
Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in its
place which reflects what the boards return.

28 years ago * configure: Regenerated.
Tom Tromey [Tue, 28 May 1996 20:34:21 +0000 (20:34 +0000)] 
    * configure: Regenerated.
        * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
        (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.

28 years ago * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not
Ian Lance Taylor [Tue, 28 May 1996 19:34:07 +0000 (19:34 +0000)] 
* coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not
zeroes, in alignment holes.

28 years ago * mpw-README: Document GCCIncludes.
Stan Shebs [Tue, 28 May 1996 19:32:11 +0000 (19:32 +0000)] 
* mpw-README: Document GCCIncludes.

28 years ago * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
Ian Lance Taylor [Tue, 28 May 1996 19:08:40 +0000 (19:08 +0000)] 
* config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
created by emit_expr.

28 years ago * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
Ian Lance Taylor [Tue, 28 May 1996 17:33:23 +0000 (17:33 +0000)] 
* symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
as_perror rather than assert.

28 years ago * configure: Rebuild with autoconf 2.10.
Ian Lance Taylor [Tue, 28 May 1996 16:41:17 +0000 (16:41 +0000)] 
* configure: Rebuild with autoconf 2.10.

28 years ago * aoutx.h (NAME(aout,find_nearest_line)): Make room for the
Ian Lance Taylor [Tue, 28 May 1996 15:48:13 +0000 (15:48 +0000)] 
* aoutx.h (NAME(aout,find_nearest_line)): Make room for the
potential leading underscore in the allocated buffer.

28 years ago * configure.in (alpha-*-linux*): Set enable_shared to yes.
Fred Fish [Sun, 26 May 1996 22:17:46 +0000 (22:17 +0000)] 
* configure.in (alpha-*-linux*): Set enable_shared to yes.

28 years ago * sysdep-linux.h: New file.
Fred Fish [Sun, 26 May 1996 22:15:47 +0000 (22:15 +0000)] 
* sysdep-linux.h: New file.
* display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
* configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
support non-x86 based Linux platforms.

28 years agoUpdate with new/changed files.
Fred Fish [Sun, 26 May 1996 22:09:41 +0000 (22:09 +0000)] 
Update with new/changed files.

28 years agoForgot to include in last checking.
Fred Fish [Sun, 26 May 1996 22:09:20 +0000 (22:09 +0000)] 
Forgot to include in last checking.

28 years ago Changes from: David Mosberger-Tang <davidm@azstarnet.com>
Fred Fish [Sun, 26 May 1996 21:41:40 +0000 (21:41 +0000)] 
Changes from: David Mosberger-Tang  <davidm@azstarnet.com>

* NEWS:  Add Alpha Linux as a new native configuration.

* mdebugread.c (parse_symbol): When we find a malloc() symbol with
  return type VOID, assume no debugging info is available for that
  object file and patch the return value into VOID *.  Otherwise,
operations requiring an implicit call to malloc() will fail.

* infrun.c (wait_for_inferior): The criterion to detect entering a
  sigtramp handler is now: (a) the current pc is inside a sigtramp
  handler, (b) the previous pc is not in a sigtramp handler, and (c)
  the current stack pointer is "inner" than the old one.  Condition
(c) is new to avoid mistaking a return from a signal handler into
  sigtramp as a new sigtramp invocation.

* dcache.c (struct dcache_block): Declare addr as CORE_ADDR.  An
  int may not be big enough to hold an address.
(dcache_hit): Ditto.
(dcache_peek_byte): Fix indentation.

* configure.in (alpha-*-linux*): Add target.
* configure: Rebuild

* config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
(SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(DYNAMIC_SIGTRAMP_OFFSET): Ditto.
(SIGCONTEXT_ADDR): Ditto.
(FRAME_PAST_SIGTRAMP_FRAME): Ditto.

* config/alpha/alpha-linux.mh: New file.
* config/alpha/alpha-linux.mt: Ditto.
* config/alpha/nm-linux.h: Ditto.
* config/alpha/tm-alphalinux.h: Ditto.
* config/alpha/xm-alphalinux.h: Ditto.
* config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
* config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
  xm-alphaosf.h.
* config/alpha/alpha-osf2.mh: Ditto.

* blockframe.c (find_pc_partial_function): Pass PC to
  SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
  that detect sigtramp code via designated code sequences (as is the
  case for Linux/Alpha, for example).

* config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
to ignore new PC argument.
* config/m68k/tm-hp300bsd.h: Ditto.
* config/vax/tm-vax.h: Ditto.

* alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
(alpha_osf_skip_sigtramp_frame): Ditto.
(push_sigtramp_desc): Ditto.
(alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
  sigcontext address from frame.
(alpha_saved_pc_after_call): When in sigtramp, use
  alpha_frame_saved_pc() instead of read-register().
(after_prologue): When inside a dynamically generated sigtramp
  function, there is no prologue, so return address of first
  instruction.
(alpha_in_prologue): Fix typo in comment.
(find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
  whether we're inside a dynamicaly generated sigtramp function.  If
  so, create and push and appropriate procedure descriptor.
(alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
  the frame past a sigtramp frame (if the current frame is indeed a
  sigtramp function).
(init_extra_frame_info): Don't read next frame register off of
  stack-pointer when inside a dynamiccaly generated sigtramp.
(alpha_pop_frame): Also unlink and destroy procedure descriptors
  created for dynamically generated sigtramp functions.

* alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
  <alpha/ptrace.h> instead of <machine/reg.h>

28 years ago * config/tc-mips.c (mips_ip): Mark sections created to hold
Ian Lance Taylor [Sat, 25 May 1996 01:25:27 +0000 (01:25 +0000)] 
* config/tc-mips.c (mips_ip): Mark sections created to hold
floating point information as read only.

28 years agoAdd better defaults for AIX3, AIX4
Michael Meissner [Fri, 24 May 1996 22:10:52 +0000 (22:10 +0000)] 
Add better defaults for AIX3, AIX4

28 years agoMore changes for GO32 canadian cross builds
Michael Meissner [Fri, 24 May 1996 19:12:21 +0000 (19:12 +0000)] 
More changes for GO32 canadian cross builds

28 years agoMore changes for GO32 canadian cross builds
Michael Meissner [Fri, 24 May 1996 19:05:17 +0000 (19:05 +0000)] 
More changes for GO32 canadian cross builds

28 years agoDo not put small common symbols into .sbss if ld -r
Michael Meissner [Fri, 24 May 1996 18:30:52 +0000 (18:30 +0000)] 
Do not put small common symbols into .sbss if ld -r

28 years agoAllow psim to be built on go32
Michael Meissner [Fri, 24 May 1996 14:15:17 +0000 (14:15 +0000)] 
Allow psim to be built on go32

28 years ago * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize
Ian Lance Taylor [Thu, 23 May 1996 23:09:44 +0000 (23:09 +0000)] 
* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize
file, not impfile.
PR 9759.

28 years agoAdd .skip as a synonym for .space
Michael Meissner [Thu, 23 May 1996 21:58:22 +0000 (21:58 +0000)] 
Add .skip as a synonym for .space

28 years agoAllow bogus .stabd with 4 arguments for PowerPC Solaris
Michael Meissner [Thu, 23 May 1996 21:49:18 +0000 (21:49 +0000)] 
Allow bogus .stabd with 4 arguments for PowerPC Solaris

28 years ago * h8300-tdep.c (IS_PUSH): Refine.
Jeff Law [Thu, 23 May 1996 21:35:09 +0000 (21:35 +0000)] 
    * h8300-tdep.c (IS_PUSH): Refine.
        (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
        (IS_SUB4_SP, IS_SUBL_SP): New macros.
        (h8300_skip_prologue): Handle H8/300H prologue code sequences.
        (examine_prologue): Handle addresses from 0x010000 to 0xffffff
        when in H8/300H mode.  Get the return pointer's address correctly
        for the H8/300H.  Handle H8/300H prolouge code sequences.
Avoiding major breakage on the H8/300H, and on the eval board.  Jeez, did
anyone even try to debug H8/300H code with gdb in the past?!?

28 years ago * symfile.c (generic_load): Print the starting address
Jeff Law [Thu, 23 May 1996 21:15:15 +0000 (21:15 +0000)] 
    * symfile.c (generic_load): Print the starting address
        of the file just loaded.
For informational purposes.

28 years ago * gdb.base/callfuncs.exp: Remove the compiler info file prior to
Fred Fish [Thu, 23 May 1996 20:38:54 +0000 (20:38 +0000)] 
* gdb.base/callfuncs.exp: Remove the compiler info file prior to
attempting to regenerate it.  Eliminate use of a temporary file
and just generate the info file directly.  Source it immediately,
for consistency of use.
* gdb.base/corefile.exp: Ditto
* gdb.base/exprs.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/langs.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/nodebug.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/setvar.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/whatis.exp: Ditto.
* gdb.c++/templates.exp: Ditto.
* gdb.c++/virtfunc.exp: Ditto.
* gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
  whether or not to add -lstdc++ to the compile command line args.

28 years ago * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about
Ian Lance Taylor [Thu, 23 May 1996 19:28:18 +0000 (19:28 +0000)] 
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about
undefined symbols when creating a shared library.
PR 9751.

28 years agoSilence warnings from Solaris PowerPC cc
Michael Meissner [Thu, 23 May 1996 19:20:33 +0000 (19:20 +0000)] 
Silence warnings from Solaris PowerPC cc

28 years ago * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
Stan Shebs [Thu, 23 May 1996 19:12:45 +0000 (19:12 +0000)] 
* mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.

28 years ago * compile.c (sim_resume): Correctly handle divu.
Jeff Law [Thu, 23 May 1996 04:25:43 +0000 (04:25 +0000)] 
    * compile.c (sim_resume): Correctly handle divu.
More bugfixing.  HMSE

28 years ago * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}
David Edelsohn [Wed, 22 May 1996 19:09:32 +0000 (19:09 +0000)] 
* ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}
if final link.
* emultempl/pe.em (sfunc): Renamed to sort_by_file_name.
(sort_by_section_name, sort_sections_1): New functions.
(sort_sections): Only sort by file name sections in .idata.
Add "Grouped Sections" support.
(gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped
Sections.
(gld${EMULATION_NAME}_place_section): Delete.
* scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$).
(.CRT,.rsrc): Rewrite to use Grouped Section support.

28 years ago * configure.in: Only built erc32 simulator on Unix hosts as it
Rob Savoye [Wed, 22 May 1996 18:12:32 +0000 (18:12 +0000)] 
* configure.in: Only built erc32 simulator on Unix hosts as it
uses pseudo ttys.
* configure: Regenerated with autoconf 2.8.

28 years ago * mpw-eppcmac.c: Update to reflect changes to aix.em.
Stan Shebs [Tue, 21 May 1996 21:36:46 +0000 (21:36 +0000)] 
* mpw-eppcmac.c: Update to reflect changes to aix.em.

28 years ago * dsrec.c (load_srec): Add WAITACK parameter, for machines
Mark Alexander [Tue, 21 May 1996 06:09:23 +0000 (06:09 +0000)] 
* dsrec.c (load_srec): Add WAITACK parameter, for machines
like EST visionICE that send back an ACK after each S-record.
* monitor.c (monitor_wait_srec_ack): New function.
(monitor_load): Pass monitor_wait_srec_ack to load_srec
if the monitor's MO_SREC_ACK flag is set.
* monitor.h: Define MO_SREC_ACK flag.
* remote-est.c (est_cmds): Add MO_SREC_ACK flag.
* sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
* srec.h: Add WAITACK parameter to load_srec prototype.

28 years agoChanges to configure.in noted
Geoffrey Noer [Mon, 20 May 1996 17:12:05 +0000 (17:12 +0000)] 
Changes to configure.in noted

28 years agoConfigure and build make for *-*-cygwin32 targets
Geoffrey Noer [Mon, 20 May 1996 17:10:24 +0000 (17:10 +0000)] 
Configure and build make for *-*-cygwin32 targets

28 years ago * config/sparc/sparclite.mt: Add the sparc simulator.
Rob Savoye [Mon, 20 May 1996 03:25:57 +0000 (03:25 +0000)] 
* config/sparc/sparclite.mt: Add the sparc simulator.

28 years ago Sanitize support for the ESA sparc simulator.
Rob Savoye [Mon, 20 May 1996 03:18:13 +0000 (03:18 +0000)] 
   Sanitize support for the ESA sparc simulator.

28 years ago * func.c(bfd_load): Don't try to print the filename if the pfbd is
Rob Savoye [Mon, 20 May 1996 03:13:02 +0000 (03:13 +0000)] 
* func.c(bfd_load): Don't try to print the filename if the pfbd is
NULL.
* interf.c(sim_load): Pass the whole string, not just the first
byte.

28 years ago New sparc simulator from the ESA.
Rob Savoye [Mon, 20 May 1996 02:46:07 +0000 (02:46 +0000)] 
New sparc simulator from the ESA.

28 years ago * defs.h (read_command_lines, query_hook): Update prototypes.
Fred Fish [Mon, 20 May 1996 02:05:55 +0000 (02:05 +0000)] 
* defs.h (read_command_lines, query_hook): Update prototypes.
(readline_begin_hook, readline_hook, readline_end_hook): Declare.
* breakpoint.c (commands_command): Build message in temporary buffer
and pass that, as well as tty control flag, to read_command_lines.
* top.c (readline_begin_hook, readline_hook, readline_end_hook):
Define here.
(command_loop): Check for non-NULL instream before looping.
(command_line_input): Use readline_hook when appropriate, to get
user input from a GUI window.
(read_next_line): Also build prompt if getting user input from a GUI.
(recurse_read_control_structure): Fix typo in comment.
(read_command_lines): Use passed in prompt and tty flag to decide how
to build message.  Use readline_begin_hook when appropriate, to set
up a GUI interaction window.  Just return head, whether NULL or not,
after using readline_end_hook to complete GUI interaction.
(define_command, document_command): Build message in a temporary
buffer and pass it to read_command_lines, along with tty flag.
* gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
New functions.
(tk_command_loop): Set instream to NULL to enable Tk user interaction.
(gdbtk_init): Set readline_begin_hook, readline_hook,
and readline_end_hook.
* gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
gdbtk_tcl_readline_end): New functions.
(tclsh): Pack scroll bar on right side of window, not left.
PR 9385

28 years ago * ldlang.c (dprint_statement): Stop printing at end of list.
David Edelsohn [Mon, 20 May 1996 00:01:03 +0000 (00:01 +0000)] 
* ldlang.c (dprint_statement): Stop printing at end of list.

28 years ago Support for --force-exe-suffix
Steve Chamberlain [Sat, 18 May 1996 20:28:30 +0000 (20:28 +0000)] 
Support for --force-exe-suffix
* ld.h (args_type): Add force_exe_suffix.
* ld.texinfo: Add documentation.
* ldmain.c (main):  Add support for option.
* lexsup.c (OPTION_FORCE_EXE_SUFFIX): New.
(ld_options, parse_args):  Add support for option.

28 years ago * blockframe.c (frameless_look_for_prologue):
Peter Schauer [Sat, 18 May 1996 09:53:12 +0000 (09:53 +0000)] 
* blockframe.c (frameless_look_for_prologue):
Add FUNCTION_START_OFFSET only if func_start is non-zero.
* minsyms.c (lookup_minimal_symbol_by_pc):  Return NULL if
pc is not in a known section.
* stack.c (print_frame_info):  Remove check for fi->pc in known
section, now handled by lookup_minimal_symbol_by_pc.

This page took 0.071103 seconds and 4 git commands to generate.