external/binutils.git
30 years ago * bfd-in2.h: Rebuilt.
Jeff Law [Mon, 16 May 1994 19:34:13 +0000 (19:34 +0000)]
* bfd-in2.h: Rebuilt.

* elf32-hppa.c: Change .hppa_linker_stubs to .PARISC.stubs,
likewise for other PA specific sections.
(hppa_elf_relocate_unwind_table): Delete unused
function.
(elf_hppa_howto_table): Completely new table based on 94-02-02
draft PA ELF spec.  Change relocation tags appropriately
throughout elf32-hppa.c
(hppa_elf_gen_reloc_type): Rewrite and simplify based on 94-02-02
spec.
(hppa_elf_reloc): Likewise.
(hppa_look_for_stubs_in_section): Likewise
(ELF_MACHINE_CODE): Change to EM_PARISC.
* elf32-hppa.h: Include "elf/hppa.h".  Change relocation tags
appropriately throughout elf32-hppa.h.
(elf32_hppa_reloc_type): New table based on 94-02-02 draft PA ELF
spec.
(R_HPPA_ABS_CALL, R_HPPA_COMPLEX*, R_HPPA_UNWIND): Delete definitions.
* elfcode.h (prep_headers): Use EM_PARISC instead of EM_HPPA.
* reloc.c (bfd_reloc_code_real): Delete unused HPPA relocations.
* som.h (R_HPPA_ABS_CALL, R_HPPA_COMPLEX): Delete definitions.

* libhppa.h (hppa_field_adjust): Avoid adding constant_value into
the final value twice for LR and RR field selectors.

30 years ago * config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwind
Jeff Law [Mon, 16 May 1994 19:29:56 +0000 (19:29 +0000)]
* config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwind
throughout code.
(is_complex): Delete definition and support for complex relocation
types.
(tc_gen_reloc): Delete special unwind crud for ELF.  Simplify and
rewrite ELF code based on 94-02-02 PA ELF draft spec.
(pa_build_unwind_subspace): Use standard PARISC_DIR32 relocs for
the unwind descriptors.

30 years ago * gas/hppa/reloc/reloc.exp: Tweak expected output to match new
Jeff Law [Mon, 16 May 1994 19:25:51 +0000 (19:25 +0000)]
* gas/hppa/reloc/reloc.exp: Tweak expected output to match new
ELF code.
* gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does
not support them.
* gas/hppa/unsorted/unsorted.exp: Tweak expected output to match
new ELF code.

30 years ago * common.h (EM_HPPA): Delete.
Jeff Law [Mon, 16 May 1994 19:23:59 +0000 (19:23 +0000)]
* common.h (EM_HPPA): Delete.
(EM_PARISC): Add.
* hppa.h: New file.

30 years agoFix typo in last check-in.
Jeff Law [Mon, 16 May 1994 16:35:36 +0000 (16:35 +0000)]
Fix typo in last check-in.

30 years ago * libhppa.h (hppa_field_adjust): Avoid adding constant_value into
Jeff Law [Mon, 16 May 1994 16:13:34 +0000 (16:13 +0000)]
* libhppa.h (hppa_field_adjust): Avoid adding constant_value into
the final value twice for LR and RR field selectors.

30 years agoSat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 14 May 1994 23:12:29 +0000 (23:12 +0000)]
Sat May 14 15:13:52 1994  Stan Shebs  (shebs@andros.cygnus.com)

* inflow.c (job_control, attach_flag, generic_mourn_inferior):
Remove, needed for both native and cross.
* target.c (attach_flag, generic_mourn_inferior): Put here.
* utils.c (job_control): Put here.
(terminal.h): Don't include anymore.

30 years ago * source.c (find_source_lines): Always use code that was #ifdef
Jim Kingdon [Sat, 14 May 1994 19:37:57 +0000 (19:37 +0000)]
* source.c (find_source_lines): Always use code that was #ifdef
BROKEN_LARGE_ALLOCA.  Do the cleanup before returning, rather than
leaving it on the chain.  Reindent much of this function.
* config/sparc/{xm-sun4sol2.h,xm-sun4os4.h},
config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h},
config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h},
config/ns32k/xm-ns32km3.h: Remove all references to
BROKEN_LARGE_ALLOCA; with the above change it is no longer needed.
* main.c, fork-child.c, many config files: Remove all
SET_STACK_LIMIT_HUGE code; with the above changes it should no
longer be needed.

* symtab.c (lookup_partial_symbol): Use if and abort, not assert.
This avoids __eprintf troubles.

* main.c (main): Surround in #ifndef MAIN_OVERRIDE.  Move
initialization code which needs to be called even if we bypass the
command line stuff into gdb_init.
* utils.c (fputs_unfiltered): Surround in #ifndef
FPUTS_UNFILTERED_OVERRIDE.
* Makefile.in (libgdb.a): New target.

* utils.c: Rearrange I/O stuff a bit so that all output goes
through fputs_unfiltered.  Use vasprintf; removes arbitrary limit
which made %s not work with arbitrarily large strings.
* printcmd.c (printf_command): Use printf_filtered, not
printf_unfiltered and printf, now that arbitrary limit is gone.

30 years ago * aoutx.h (add_to_stringtab): Use BFD_ASSERT not assert. This
Jim Kingdon [Sat, 14 May 1994 16:19:58 +0000 (16:19 +0000)]
* aoutx.h (add_to_stringtab): Use BFD_ASSERT not assert.  This
avoids __eprintf troubles.

30 years ago * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
Ian Lance Taylor [Sat, 14 May 1994 03:26:26 +0000 (03:26 +0000)]
* bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.

30 years ago * bout.c (b_out_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR.
Ian Lance Taylor [Sat, 14 May 1994 03:16:13 +0000 (03:16 +0000)]
* bout.c (b_out_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR.

30 years ago * compile.c (decode): Fix typo (16 bit branches).
David Edelsohn [Sat, 14 May 1994 01:36:52 +0000 (01:36 +0000)]
* compile.c (decode): Fix typo (16 bit branches).
(*): Some white space clean up.

30 years ago * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
Bill Cox [Sat, 14 May 1994 01:09:17 +0000 (01:09 +0000)]
* config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
          (CFLAGS): Delete it from here.

30 years agoPassdown -S to linker.
Steve Chamberlain [Fri, 13 May 1994 20:30:54 +0000 (20:30 +0000)]
Passdown -S to linker.

30 years ago * Makefile.in (Move HOST_PREFIX_1 and friends up so
Steve Chamberlain [Fri, 13 May 1994 20:29:48 +0000 (20:29 +0000)]
* Makefile.in (Move HOST_PREFIX_1 and friends up so
they can be overriden by templates.

30 years agoRewrite history.
Ian Lance Taylor [Fri, 13 May 1994 18:51:52 +0000 (18:51 +0000)]
Rewrite history.

30 years agoFix typo in last entry
Jim Kingdon [Fri, 13 May 1994 18:47:34 +0000 (18:47 +0000)]
Fix typo in last entry

30 years ago gcc -Wall lint:
Jim Kingdon [Fri, 13 May 1994 18:18:57 +0000 (18:18 +0000)]
gcc -Wall lint:
* breakpoint.c (watchpoint_check): Remove unused variable b.
* stack.c (print_frame_info): Move sp and buf inside #if.
* eval.c (evaluate_subexp): Remove unused variables pp,
mangle_ptr, ptr, and mangle_tstr.
* valarith.c (value_x_binop): Remove unused variables mangle_tstr
and mangle_ptr.
* symtab.c (lookup_symtab): Put variable copy inside #if.
(decode_line_1): Put variable q1 inside #if 0.
* target.h: Declare target_link.
* infrun.c (wait_for_inferior): Remove unused variables signame.
* remote.c (remote_resume): Remove unused variable name.
* c-exp.y (parse_number): Parenthesize operand of shift.
* dbxread.c (record_minimal_symbol): Parenthesize operand of &&
(this is a semantic change, the warning seems to have detected a bug).
* dbxread.c (end_psymtab): Move variable p1 inside #if.
* coffread.c: Move variable temptype inside #if.
* ch-typeprint.c (chill_type_print_base): Remove unused variable
name.
* ch-valprint.c: #include typeprint.h and ch-lang.h.
(chill_val_print): Remove unused variable in_range.
(chill_val_print): Remove statement "length > TYPE_LENGTH (type);".
(chill_val_print): Add default case for switch.
* stabsread.h: Declare stabsect_build_psymtabs.
* os9kread.c (read_minimal_symbols): Make this return void.
(os9k_symfile_read): Remove unused variables stb_exist and val.
(os9k_symfile_init): Remove unused variable val.
(fill_sym): Remove unused variable id.
(read_os9k_psymtab): Put variable back_to inside #if 0.  Remove
unused variable nsl.
Remove unused variable symfile_bfd.
#if 0 unused variables lbrac_unmatched_complaint and
lbrac_mismatch_complaint.
Remove declaration for non-existent function os9k_next_symbol_text.

* annotate.c, annotate.h: New files, containing a function for
each annotation which outputs it.
* Move breakpoints_changed from breakpoint.c to annotate.c.
* breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c,
printcmd.c, source.c, stack.c, utils.c, valprint.c:
Use annotate.c functions to output annotations.
* Makefile.in (OBS): Add annotate.o.

30 years ago * Makefile.in (sysdep.h): Copy Ian's version of this from
Bill Cox [Fri, 13 May 1994 18:15:46 +0000 (18:15 +0000)]
* Makefile.in (sysdep.h): Copy Ian's version of this from
  progressive/bfd/Makefile.in.

30 years ago * ldlang.c (print_output_section_statement): Change ``no attached
Ian Lance Taylor [Fri, 13 May 1994 18:01:59 +0000 (18:01 +0000)]
* ldlang.c (print_output_section_statement): Change ``no attached
output section'' message slightly.
(lang_do_assignments): Don't recurse down if there is no real
section.

30 years ago * Makefile.in (stmp-bfd.h): Add an 'if' to mask a harmless
Bill Cox [Fri, 13 May 1994 17:52:46 +0000 (17:52 +0000)]
* Makefile.in (stmp-bfd.h): Add an 'if' to mask a harmless
  grep error.  Already in progressive/bfd/Makefile.in.

30 years ago * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to
Ian Lance Taylor [Fri, 13 May 1994 17:06:49 +0000 (17:06 +0000)]
* config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to
match corresponding change in emulation templates.
* config/i386-lynx.mt, config/m68k-lynx.mt: Likewise.
* config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.

30 years ago * config/mipsbelf.mt (SELECT_VECS): Add ecoff_big_vec and
Ian Lance Taylor [Fri, 13 May 1994 14:53:07 +0000 (14:53 +0000)]
* config/mipsbelf.mt (SELECT_VECS): Add ecoff_big_vec and
ecoff_little_vec since Irix 5 supports ECOFF executables.

30 years agoChanges for MacGDB:
Stan Shebs [Fri, 13 May 1994 00:31:31 +0000 (00:31 +0000)]
Changes for MacGDB:

Thu May 12 17:04:58 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
(READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
(TSOBS): Don't compile inflow.c.
(all, install): Add MacGDB.
* main.c (main): Do Mac-specific init and command loop if a
standalone app, skip full option help message if compiling
with MPW C.
(gdb_readline): If MPW, add a newline after the (gdb) prompt.
* utils.c (_initialize_utils): If MPW, don't try to use termcap to
compute the window size.
* config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
fflush): Define as macros that expand into hacked_... versions.
(StandAlone, mac_app): Declare.
* macgdb.r (SIZE): Set the default partition to 4000K.
* mac-xdep.c (readline.h, history.h): Include.
(terminal.h): Don't include.
(mac_app): Define.
(gdb_has_a_terminal): Define Mac-specific version.
(do_keyboard_command): Simplify search for command string.
(readline): Define as gdb_readline.
Add other history/readline stubs to make main gdb link.
(hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
hacked_fputc, hacked_fflush): New functions, intercept output to
stdout and stderr, send to console window.

30 years ago * config/makefile.rel.in: : Add comment lines
Bill Cox [Thu, 12 May 1994 21:16:41 +0000 (21:16 +0000)]
* config/makefile.rel.in: : Add comment lines
          to Sanitize out CHILL references unless keep-chill
          was specified.

30 years ago * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
Bill Cox [Thu, 12 May 1994 21:08:47 +0000 (21:08 +0000)]
* .Sanitize: Drop the gdb.t30 and gdb.t31 directories
  unless keep-chill was specified on the command line.
* Makefile.in: Add comment lines to Sanitize out CHILL
  references unless keep-chill was specified.

30 years agoRemove CVS conflict markers from file
Jim Kingdon [Thu, 12 May 1994 18:13:17 +0000 (18:13 +0000)]
Remove CVS conflict markers from file

30 years ago * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
Jeff Law [Thu, 12 May 1994 18:02:27 +0000 (18:02 +0000)]
* hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
elf_unwind_entries are always initialized.

30 years ago * hppa-tdep.c (skip_trampoline_code): Handle argument relocation
Jeff Law [Thu, 12 May 1994 16:50:43 +0000 (16:50 +0000)]
    * hppa-tdep.c (skip_trampoline_code): Handle argument relocation
        stubs which return directly to the caller rather than to the stub
        itself.

30 years agoWed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Thu, 12 May 1994 03:21:48 +0000 (03:21 +0000)]
Wed May 11 20:11:51 1994  Stan Shebs  (shebs@andros.cygnus.com)

* c-exp.y (yyerror): Display a more informative error message.
* ch-exp.y (yyerror): Ditto, don't use global yychar.
* m2-exp.y (yyerror): Ditto.

30 years agonote name change of cdtest-bar.cc
Ken Raeburn [Wed, 11 May 1994 23:49:35 +0000 (23:49 +0000)]
note name change of cdtest-bar.cc

30 years ago8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc
Ken Raeburn [Wed, 11 May 1994 23:49:21 +0000 (23:49 +0000)]
8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc

30 years ago* ldver.c (ldversion): Updated version number.
Ken Raeburn [Wed, 11 May 1994 23:10:34 +0000 (23:10 +0000)]
* ldver.c (ldversion): Updated version number.

* cdtest-foo.cc: Use explicit "#pragma implementation".
* cdtest-bar.cc: Renamed from cdtest-func.cc.
* Makefile.in: References to cdtest-func.o changed to cdtest-bar.o.

30 years ago Don't create unnecessary output sections.
Ian Lance Taylor [Wed, 11 May 1994 20:29:21 +0000 (20:29 +0000)]
Don't create unnecessary output sections.
* ldlang.c (out_bfd_get_section_by_name): Remove.
(wild_section): Call bfd_get_section_by_name rather than
our_bfd_get_section_by_name.  Don't call wild_doit if there is no
section.
(lang_create_output_section_statements): Remove.
(map_input_to_output_sections): For several cases, call init_os if
it has not already been called.
(lang_size_sections): If output section was not created, skip it.
(lang_process): Don't call lan_create_output_section_statements.
(lang_place_orphans): Skip files with just_syms_flags set to true.
* ld.texinfo: Document change.

30 years ago * ecoff.c (ecoff_find_nearest_line): Handle fdr.adr != pdr.adr
Ian Lance Taylor [Wed, 11 May 1994 16:46:04 +0000 (16:46 +0000)]
* ecoff.c (ecoff_find_nearest_line): Handle fdr.adr != pdr.adr
correctly.

30 years agoChange kill-region to delete-region
Jim Kingdon [Wed, 11 May 1994 15:03:35 +0000 (15:03 +0000)]
Change kill-region to delete-region

30 years ago * Makefile.in (stmp-bfd.h): Use || instead of ; to force SunOS
Ian Lance Taylor [Wed, 11 May 1994 04:32:52 +0000 (04:32 +0000)]
* Makefile.in (stmp-bfd.h): Use || instead of ; to force SunOS
make to invoke the shell.

30 years agoTue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com)
Jason Molenda [Wed, 11 May 1994 01:28:18 +0000 (01:28 +0000)]
Tue May 10 18:22:06 1994  Jason Molenda    (crash@sendai.cygnus.com)

        * objcopy.c (copy_section): Set section size correctly if using
        interleave.

30 years agoTrivial change to prepare for a real one
Stan Shebs [Tue, 10 May 1994 19:01:48 +0000 (19:01 +0000)]
Trivial change to prepare for a real one

30 years ago * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to
Ian Lance Taylor [Tue, 10 May 1994 18:43:51 +0000 (18:43 +0000)]
* maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to
SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd.

30 years ago * ldlang.c (wild_doit): Don't bother initializing the vma and
Ian Lance Taylor [Tue, 10 May 1994 18:33:44 +0000 (18:33 +0000)]
* ldlang.c (wild_doit): Don't bother initializing the vma and
section size.  Don't special case SEC_SHARED_LIBRARY.
(lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections
specially.

30 years ago * section.c (SEC_COFF_SHARED_LIBRARY): Renamed from
Ian Lance Taylor [Tue, 10 May 1994 18:29:19 +0000 (18:29 +0000)]
* section.c (SEC_COFF_SHARED_LIBRARY): Renamed from
SEC_SHARED_LIBRARY for clarity.  Changed all uses.
* bfd-in2.h: Rebuilt.
* coffcode.h (sec_to_styp_flags): If SEC_COFF_SHARED_LIBRARY is
set, set STYP_NOLOAD.
* coffgen.c (coff_section_from_bfd_index): Don't get an assertion
failure because of a bad shared library.

30 years agoTue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 10 May 1994 18:26:39 +0000 (18:26 +0000)]
Tue May 10 11:20:54 1994  Stan Shebs  (shebs@andros.cygnus.com)

* configure.in (sparclite): Match on sparclite*-*-*.

30 years agoTypo.
Ian Lance Taylor [Tue, 10 May 1994 02:04:58 +0000 (02:04 +0000)]
Typo.

30 years ago * linker.c: Add missing comment terminator.
Bill Cox [Tue, 10 May 1994 01:58:35 +0000 (01:58 +0000)]
* linker.c: Add missing comment terminator.

30 years ago * linker.c (_bfd_generic_link_add_one_symbol): If hashp and *hashp
Ian Lance Taylor [Mon, 9 May 1994 23:22:00 +0000 (23:22 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): If hashp and *hashp
are not NULL, assume the caller has already looked up the symbol
in the hash table and has stored the entry in *hashp.
(generic_link_add_symbol_list): Set h to NULL before calling
_bfd_generic_link_add_one_symbol.
* ecoff.c (ecoff_link_add_externals): Likewise.

30 years ago * readline.c (_rl_set_screen_size): Don't compile if __GO32__ is
Ian Lance Taylor [Mon, 9 May 1994 23:01:56 +0000 (23:01 +0000)]
* readline.c (_rl_set_screen_size): Don't compile if __GO32__ is
defined.
* rltty.c (control_meta_key): Likewise.
* parens.c: If __GO32__ is defined, undefine FD_SET.
* signals.c: Include SIGWINCH handling in the set of things which
is not done if HANDLE_SIGNALS is not set.

30 years ago * display.c: If __GO32__ is defined, include <sys/pc.h>.
Ian Lance Taylor [Mon, 9 May 1994 22:36:24 +0000 (22:36 +0000)]
* display.c: If __GO32__ is defined, include <sys/pc.h>.

30 years ago * readline.c (readline_default_bindings): Don't compile if
Ian Lance Taylor [Mon, 9 May 1994 22:31:26 +0000 (22:31 +0000)]
* readline.c (readline_default_bindings): Don't compile if
__GO32__ is defined.
* rltty.c (rltty_set_default_bindings): Likewise.

30 years ago * elfcode.h: Include bfdlink.h. Added several new functions to do
Ian Lance Taylor [Mon, 9 May 1994 16:58:36 +0000 (16:58 +0000)]
* elfcode.h: Include bfdlink.h.  Added several new functions to do
linking.
(ELF_R_TYPE): Define.
(bfd_add_to_strtab): Return unsigned long.  Change check for
realloc failure.
(elf_fake_sections): Check return value of bfd_add_to_strtab.
(elf_compute_section_file_positions): Add link_info argument.
Call elf_backend_begin_write_processing hook and prep_headers
here.  Only call swap_out_syms if link_info is NULL.  Set up
.shstrtab section here.  Pass dosyms argument to
assign_file_positions_except_relocs.  Set output_has_begun flag.
(assign_file_positions_for_symtab_and_strtabs): Add dosyms
argument, and use it to control setting .symtab and .strtab file
positions.
(assign_file_positions_except_relocs): Add dosyms argument, and
pass it on.
(prep_headers): Check return value of bfd_add_to_strtab.
(swap_out_syms): Likewise.  Also, don't set up .shstrtab here.
(NAME(bfd_elf,write_object_contents)): Some calls moved into
elf_compute_section_file_positions.
(elf_set_section_contents): Likewise.
(elf_slurp_symbol_table): SHN_LORESERV corrected to SHN_LORESERVE.
* libelf.h: Include bfdlink.h.
(struct elf_backend_data): Add fields collect,
elf_add_symbol_hook, elf_backend_relocate_section.
(struct bfd_elf_section_data): Add field rel_hashes.
(struct elf_obj_tdata): Remove fields internal_syms and symbols.
Add field sym_hashes.
(obj_symbols, obj_internal_syms): Remove definitions.
(elf_sym_hashes): Define.
(struct elf_link_hash_entry): Define.
(struct elf_link_hash_table): Define.
(elf_link_hash_lookup): Define.
(elf_link_hash_traverse): Define.
(elf_hash_table): Define.
(_bfd_elf_link_hash_table_create): Declare.
(bfd_elf32_bfd_link_add_symbols): Declare.
(bfd_elf32_bfd_final_link): Declare.
(bfd_elf64_bfd_link_add_symbols): Declare.
(bfd_elf64_bfd_final_link): Declare.
* elf.c: Include bfdlink.h.
(elf_link_hash_newfunc): New function.
(_bfd_elf_link_hash_table_create): New function.
* elf32-target.h (elf_backend_relocate_section): If not defined,
define as 0 and use generic linker.  Otherwise, use ELF backend
linker.
(elf_backend_collect): If not defined, define as false.
(elf_backend_add_symbol_hook): If not defined, define as 0.
(elf32_bed): Initialize new fields.
* elf64-target.h: Same changes as elf32-target.h.
* elf32-i386.c: Include bfdlink.h.
(elf_i386_relocate_section): New function.
(elf_backend_relocate_section): Define.
* elf32-sparc.c: Include bfdlink.h.
(elf_info_to_howto): Change type of dst from Elf32_Internal_Rela
to Elf_Internal_Rela (they're the same type anyhow).
(elf_sparc_relocate_section): New function.
(elf_backend_relocate_section): Define.
* elf32-mips.c (elf_backend_collect): Define.

30 years agoRemove Delta68 support. Could not get copyright assignment for it.
Ian Lance Taylor [Mon, 9 May 1994 16:36:38 +0000 (16:36 +0000)]
Remove Delta68 support.  Could not get copyright assignment for it.
From now on, I'll get that first.

30 years agoFix typo in last change.
Steve Chamberlain [Mon, 9 May 1994 16:10:34 +0000 (16:10 +0000)]
Fix typo in last change.

30 years agoRemove debugging code.
Jim Kingdon [Sun, 8 May 1994 15:22:51 +0000 (15:22 +0000)]
Remove debugging code.

30 years agokeep gld960c.em
Ken Raeburn [Sun, 8 May 1994 05:38:24 +0000 (05:38 +0000)]
keep gld960c.em

30 years agokeep gld960coff.sh
Ken Raeburn [Sun, 8 May 1994 05:37:58 +0000 (05:37 +0000)]
keep gld960coff.sh

30 years agodeal with file renaming, new files
Ken Raeburn [Sun, 8 May 1994 05:37:17 +0000 (05:37 +0000)]
deal with file renaming, new files

30 years agoremove unneeded files
Ken Raeburn [Sun, 8 May 1994 05:21:37 +0000 (05:21 +0000)]
remove unneeded files

30 years agonote file renaming
Ken Raeburn [Sun, 8 May 1994 05:21:18 +0000 (05:21 +0000)]
note file renaming

30 years agoAdd a major mode for the breakpoints window.
Jim Kingdon [Sun, 8 May 1994 01:59:01 +0000 (01:59 +0000)]
Add a major mode for the breakpoints window.

30 years agoFix typo in gdb-goto-first-gdb-instance.
Jim Kingdon [Sun, 8 May 1994 01:21:24 +0000 (01:21 +0000)]
Fix typo in gdb-goto-first-gdb-instance.

Re-write gdb-look-for-tagged-buffer to avoid recursion (I was getting
errors because of too much nesting, obviously elisp lacks tail
recursion optimization)

Fix toggle-bp-this-line for new ways of communicating with gdb and
rename to gdb-toggle-bp-this-line.

30 years ago * a29k-dis.c (print_insn): Print 'x' type operand in hex.
Steve Chamberlain [Sun, 8 May 1994 00:19:06 +0000 (00:19 +0000)]
* a29k-dis.c (print_insn): Print 'x' type operand in hex.
* h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
* sh-dis.c (print_insn_sh): Don't recur endlessly if delay
slot insn is in a delay slot.
* z8k-opc.h: (resflg): Fix patterns.
* h8500-opc.h Fix CR insn patterns.

30 years agoDisable single quote strings.
Steve Chamberlain [Sat, 7 May 1994 23:51:30 +0000 (23:51 +0000)]
Disable single quote strings.

30 years agoDie.
Steve Chamberlain [Sat, 7 May 1994 23:48:50 +0000 (23:48 +0000)]
Die.

30 years ago * configure.in (target==go32): Don't build gdb.
Steve Chamberlain [Sat, 7 May 1994 23:48:27 +0000 (23:48 +0000)]
* configure.in (target==go32): Don't build gdb.
* dosrel: New directory.

30 years agoRestore changelog entries clobbered by last checkin.
Stan Shebs [Sat, 7 May 1994 20:11:44 +0000 (20:11 +0000)]
Restore changelog entries clobbered by last checkin.

30 years agoRestore changes clobbered by last check in.
Ian Lance Taylor [Sat, 7 May 1994 05:01:09 +0000 (05:01 +0000)]
Restore changes clobbered by last check in.

30 years agoIt's mh-lynxrs6k, not mh-lynxosrs6k.
Ian Lance Taylor [Sat, 7 May 1994 04:58:52 +0000 (04:58 +0000)]
It's mh-lynxrs6k, not mh-lynxosrs6k.

30 years agoNo, this file really should have been removed, not recreated.
Ian Lance Taylor [Sat, 7 May 1994 04:57:38 +0000 (04:57 +0000)]
No, this file really should have been removed, not recreated.

30 years agovarious changes for lynx.rs, ericsson, BNR.
David Henkel-Wallace [Sat, 7 May 1994 00:34:19 +0000 (00:34 +0000)]
various changes for lynx.rs, ericsson, BNR.

30 years ago * configure.in (host==go32): Configure dosrel too.
Steve Chamberlain [Fri, 6 May 1994 21:25:45 +0000 (21:25 +0000)]
* configure.in (host==go32): Configure dosrel too.
* Makefile.in (INTALL_TARGET): Call INSTALL_LAST last.
(HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should
be set by incoming names or templates.
(INSTALL_LAST): New rule.
* config/mh-go32: New fragment.

30 years ago * config/go32.mh: New makefile fragment for go32 crossing.
Steve Chamberlain [Fri, 6 May 1994 21:14:49 +0000 (21:14 +0000)]
    * config/go32.mh: New makefile fragment for go32 crossing.
* configure.in (host==go32): Use new fragment.

30 years ago * config/mh-go32: New fragment.
Steve Chamberlain [Fri, 6 May 1994 20:40:19 +0000 (20:40 +0000)]
    * config/mh-go32: New fragment.
* configure.in (host==go32): Use go32 fragment.

30 years agoFri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 20:39:25 +0000 (20:39 +0000)]
Fri May  6 13:30:22 1994  Stan Shebs  (shebs@andros.cygnus.com)

* Makefile.in (kdb): Remove old init.c creation commands.
* configure.in (sparclite): Match on sparclite*.
* sparclite/aload.c (main): Only change section addresses for
a.out format object files.

30 years ago * config/i386/go32.mh: Define CC.
Steve Chamberlain [Fri, 6 May 1994 20:28:55 +0000 (20:28 +0000)]
* config/i386/go32.mh: Define CC.

30 years agoFri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 19:52:23 +0000 (19:52 +0000)]
Fri May  6 11:56:54 1994  Stan Shebs  (shebs@andros.cygnus.com)

* gdbserver/Makefile.in: Remove irrelevant definitions and
comments inherited from the gdb Makefile.
(BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile.
(VERSION): Update to 4.12.3.
(gdbserver): Remove any existing executable first.
(distclean, realclean): Remove nm.h.
* gdbserver/low-lynx.c: Add Sparc Lynx support.
* gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h):
Don't use absolute pathname.

30 years agosupport for Xgo32X.
Steve Chamberlain [Fri, 6 May 1994 19:27:57 +0000 (19:27 +0000)]
support for Xgo32X.

30 years ago * config/go32.mh : New file for Xgo32X.
Steve Chamberlain [Fri, 6 May 1994 19:25:31 +0000 (19:25 +0000)]
* config/go32.mh : New file for Xgo32X.

30 years ago * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
Ian Lance Taylor [Fri, 6 May 1994 19:21:00 +0000 (19:21 +0000)]
* ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
before calling einfo, since we are reporting an fopen failure.
From jrs@world.std.com (Rick Sladkey).

30 years ago * configure.in: Use "e" rather than "em_" as prefix for
Ian Lance Taylor [Fri, 6 May 1994 19:16:30 +0000 (19:16 +0000)]
* configure.in: Use "e" rather than "em_" as prefix for
emulations.

30 years ago * config/go32.mh: XX support.
Steve Chamberlain [Fri, 6 May 1994 18:53:44 +0000 (18:53 +0000)]
* config/go32.mh: XX support.

From bill
* Makefile.in: Build sysdep.h without causing worrying but
harmless error message.

30 years ago * gasp.c: Include libiberty.h.
Ian Lance Taylor [Fri, 6 May 1994 18:39:04 +0000 (18:39 +0000)]
* gasp.c: Include libiberty.h.
(main): Remove unused variable i.

30 years ago * nlmcode.h (nlm_swap_auxiliary_headers_in): Rework custom header
Ian Lance Taylor [Fri, 6 May 1994 17:37:39 +0000 (17:37 +0000)]
* nlmcode.h (nlm_swap_auxiliary_headers_in): Rework custom header
handling for latest suggested format.
(nlm_swap_auxiliary_headers_out): Likewise.
(nlm_compute_section_file_positions): Likewise.

30 years agoem_->e, mips-idtl->mipsl-idt name changes
Ken Raeburn [Fri, 6 May 1994 06:55:54 +0000 (06:55 +0000)]
em_->e, mips-idtl->mipsl-idt name changes

30 years ago* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.
Ken Raeburn [Fri, 6 May 1994 06:55:35 +0000 (06:55 +0000)]
* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.
* emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: Ditto.
* Makefile.in: Changed all generated file names.
(ldemul-list.h): Depend on Makefile, not config.status.  Changed sed patterns
to handle new filenames.

30 years ago* config/mipsl-idt.mt: Renamed from mips-idtl.mt.
Ken Raeburn [Fri, 6 May 1994 06:54:15 +0000 (06:54 +0000)]
* config/mipsl-idt.mt: Renamed from mips-idtl.mt.
* configure.in: Adjusted.

30 years agoThu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 03:31:15 +0000 (03:31 +0000)]
Thu May  5 20:23:36 1994  Stan Shebs  (shebs@andros.cygnus.com)

* stabs.texinfo (Stab Section Basics): Add comment about alignment
of stabs-in-coff sections.

30 years ago* emulparams/gld960coff.sh: New file.
Ken Raeburn [Fri, 6 May 1994 00:40:18 +0000 (00:40 +0000)]
* emulparams/gld960coff.sh: New file.

Patches from Ralph Campbell:
* emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out'
instead of `aout'.

30 years ago* config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it unique in 8.3.
Ken Raeburn [Fri, 6 May 1994 00:39:32 +0000 (00:39 +0000)]
* config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it unique in 8.3.

* config/i960coff.mt: New file.

Patches from Ralph Campbell:
* config/mipsbsd.mh: New file.

30 years ago* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
Ken Raeburn [Fri, 6 May 1994 00:12:22 +0000 (00:12 +0000)]
* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
naming schemes.
* configure.in (appdirs): New variable.  Currently empty, but will be used in
gas distribution.  If nonempty, lists a set of directories at least one of
which must get configured, or top level configuration is considered to have
failed.
(rs6000-*-lynxos*): Use new file name.

30 years ago* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
Ken Raeburn [Fri, 6 May 1994 00:11:03 +0000 (00:11 +0000)]
* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
naming schemes.

30 years agoNote deleted files.
Ken Raeburn [Fri, 6 May 1994 00:03:20 +0000 (00:03 +0000)]
Note deleted files.

30 years ago* symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions to the symbol
Ken Raeburn [Fri, 6 May 1994 00:03:11 +0000 (00:03 +0000)]
* symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions to the symbol
table if it's already been set in the output bfd.
(symbol_begin) [! EMIT_SECTION_SYMBOLS] [RELOC_REQUIRES_SYMBOL]: Don't use
bfd_abs_section.symbol for gas absolute symbol.

30 years agodoc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp files too.
Ken Raeburn [Fri, 6 May 1994 00:00:41 +0000 (00:00 +0000)]
doc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp files too.

30 years agogprof.h, Makefile.in changes
Ken Raeburn [Thu, 5 May 1994 23:25:12 +0000 (23:25 +0000)]
gprof.h, Makefile.in changes

30 years ago(TRUE, FALSE): Always use undef before defining them.
Ken Raeburn [Thu, 5 May 1994 23:24:57 +0000 (23:24 +0000)]
(TRUE, FALSE): Always use undef before defining them.

30 years ago(install-info): Check for gprof.info in build dir, fall back to srcdir. Depend
Ken Raeburn [Thu, 5 May 1994 23:24:33 +0000 (23:24 +0000)]
(install-info): Check for gprof.info in build dir, fall back to srcdir.  Depend
on it.

30 years agosyslex.l, objdump.c/config changes
Ken Raeburn [Thu, 5 May 1994 22:53:04 +0000 (22:53 +0000)]
syslex.l, objdump.c/config changes

30 years ago* Makefile.in (objdump.o): Deleted special rule.
Ken Raeburn [Thu, 5 May 1994 22:52:31 +0000 (22:52 +0000)]
* Makefile.in (objdump.o): Deleted special rule.
* configure.in: Don't bother building ARCHDEFS variable for Makefile.
* objdump.c (ARCH_*): Deleted handling.
(disassemble_data): Call `disassembler' from opcodes library.

30 years ago(yywrap): Define as function if not defined as a macro.
Ken Raeburn [Thu, 5 May 1994 22:51:27 +0000 (22:51 +0000)]
(yywrap): Define as function if not defined as a macro.

30 years ago * config/tc-mips.c (mips_emit_delays): Make call to
Ian Lance Taylor [Thu, 5 May 1994 22:22:24 +0000 (22:22 +0000)]
* config/tc-mips.c (mips_emit_delays): Make call to
mips_no_prev_insn unconditional.