Ian Lance Taylor [Wed, 18 May 1994 16:59:26 +0000 (16:59 +0000)]
Comment changes.
Ian Lance Taylor [Wed, 18 May 1994 15:32:15 +0000 (15:32 +0000)]
* som.c: Don't include <sys/dir.h> or <sys/user.h>.
(som_reloc_queue_find): Call memcmp instead of bcmp.
(som_bfd_reloc_type_lookup): Change first argument to bfd *.
(compare_syms): Change types of arguments to const void *.
(bfd_section_from_som_symbol): Removed unused local found.
(som_write_armap): Add elength, map, orl_count and int arguments.
(som_write_armap): Use %ld and cast to long for getuid result.
Jeff Law [Wed, 18 May 1994 15:18:23 +0000 (15:18 +0000)]
* config/tc-hppa.c (pa_ip): Use R_HPPA_ABS_CALL, not R_HPPA for
absolute calls.
Jeff Law [Wed, 18 May 1994 15:13:27 +0000 (15:13 +0000)]
* elf32-hppa.h (R_HPPA_ABS_CALL): Define.
* elf32-hppa.c (hppa_elf_gen_reloc_type): Handle absolute calls.
* som.h (R_HPPA_ABS_CALL): Define.
* som.c (hppa_som_gen_reloc_type): Delete complex relocation types.
Stan Shebs [Wed, 18 May 1994 03:13:09 +0000 (03:13 +0000)]
Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com)
* xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use
the auxent if the symbol's name is ".file". From David Edelsohn
<c1dje@watson.ibm.com>.
Jim Kingdon [Wed, 18 May 1994 00:59:15 +0000 (00:59 +0000)]
* breakpoint.c (breakpoint_1): Fix typo.
* annotate.c (annotate_field_end): Fix typo.
* Makefile.in: Move annotate.o from COMMON_OBS to OBS.
* Makefile.in (TSSTART): Remove; no longer used.
Karen Christiansen [Wed, 18 May 1994 00:03:28 +0000 (00:03 +0000)]
more cleanup
Karen Christiansen [Tue, 17 May 1994 23:57:58 +0000 (23:57 +0000)]
cleanup after 94q2 migration
Ken Raeburn [Tue, 17 May 1994 23:43:48 +0000 (23:43 +0000)]
* coff-i960.c (icoff_little_vec, icoff_big_vec): Indicate leading underscore,
for compatibility with Intel tool chain (gnu960v2).
Bill Cox [Tue, 17 May 1994 22:56:13 +0000 (22:56 +0000)]
* Makefile.in (.m.c:): Added .SUFFIXES : .m
so flat_bl.c would make from flat_bl.m file.
Bill Cox [Tue, 17 May 1994 22:40:29 +0000 (22:40 +0000)]
* ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
calls with perror calls.
Bill Cox [Tue, 17 May 1994 22:06:15 +0000 (22:06 +0000)]
* config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
lib/gdb.exp: Replace error proc calls with perror.
Bill Cox [Tue, 17 May 1994 21:54:41 +0000 (21:54 +0000)]
* lib/gas-defs.exp: Replace error proc calls with perror calls.
Bill Cox [Tue, 17 May 1994 21:06:39 +0000 (21:06 +0000)]
* config/default.exp, config/unix.exp: Replace error
proc calls with perror.
Jim Kingdon [Tue, 17 May 1994 20:13:50 +0000 (20:13 +0000)]
* utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call
fputs_unfiltered and exit directly, rather than fatal. The latter
calls vfprintf_unfiltered!
* gdbtypes.h, gdbtypes.c (can_dereference): New function.
* value.h, printcmd.c (print_value_flags): Move from here...
* annotate.c: ...to here, and make it use can_dereference.
Jeff Law [Tue, 17 May 1994 18:54:50 +0000 (18:54 +0000)]
* config/tc-hppa.c (pa_parse_fp_cmp_cond): Report an error
on a partial completer match.
Stan Shebs [Tue, 17 May 1994 16:59:33 +0000 (16:59 +0000)]
Fix a sanitization screwup.
Stan Shebs [Tue, 17 May 1994 02:10:17 +0000 (02:10 +0000)]
Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
version also, match on casted version strings, and match on
gdb startup case where the line numbers might be messed up.
Jeff Law [Mon, 16 May 1994 19:38:39 +0000 (19:38 +0000)]
* emultempl/hppaelf.em: Change all references of
.hppa_linker_stubs to .PARISC.stubs.
* scripttempl/hppaelf.sc: Likewise.
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.
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.
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.
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.
Jeff Law [Mon, 16 May 1994 16:35:36 +0000 (16:35 +0000)]
Fix typo in last check-in.
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.
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.
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.
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.
Ian Lance Taylor [Sat, 14 May 1994 03:26:26 +0000 (03:26 +0000)]
* bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.
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.
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.
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.
Steve Chamberlain [Fri, 13 May 1994 20:30:54 +0000 (20:30 +0000)]
Passdown -S to linker.
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.
Ian Lance Taylor [Fri, 13 May 1994 18:51:52 +0000 (18:51 +0000)]
Rewrite history.
Jim Kingdon [Fri, 13 May 1994 18:47:34 +0000 (18:47 +0000)]
Fix typo in last entry
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.
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.
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.
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.
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.
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.
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.
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.
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.
Jim Kingdon [Thu, 12 May 1994 18:13:17 +0000 (18:13 +0000)]
Remove CVS conflict markers from file
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.
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.
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.
Ken Raeburn [Wed, 11 May 1994 23:49:35 +0000 (23:49 +0000)]
note name change of 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
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.
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.
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.
Jim Kingdon [Wed, 11 May 1994 15:03:35 +0000 (15:03 +0000)]
Change kill-region to delete-region
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.
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.
Stan Shebs [Tue, 10 May 1994 19:01:48 +0000 (19:01 +0000)]
Trivial change to prepare for a real one
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.
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.
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.
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*-*-*.
Ian Lance Taylor [Tue, 10 May 1994 02:04:58 +0000 (02:04 +0000)]
Typo.
Bill Cox [Tue, 10 May 1994 01:58:35 +0000 (01:58 +0000)]
* linker.c: Add missing comment terminator.
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.
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.
Ian Lance Taylor [Mon, 9 May 1994 22:36:24 +0000 (22:36 +0000)]
* display.c: If __GO32__ is defined, include <sys/pc.h>.
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.
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.
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.
Steve Chamberlain [Mon, 9 May 1994 16:10:34 +0000 (16:10 +0000)]
Fix typo in last change.
Jim Kingdon [Sun, 8 May 1994 15:22:51 +0000 (15:22 +0000)]
Remove debugging code.
Ken Raeburn [Sun, 8 May 1994 05:38:24 +0000 (05:38 +0000)]
keep gld960c.em
Ken Raeburn [Sun, 8 May 1994 05:37:58 +0000 (05:37 +0000)]
keep gld960coff.sh
Ken Raeburn [Sun, 8 May 1994 05:37:17 +0000 (05:37 +0000)]
deal with file renaming, new files
Ken Raeburn [Sun, 8 May 1994 05:21:37 +0000 (05:21 +0000)]
remove unneeded files
Ken Raeburn [Sun, 8 May 1994 05:21:18 +0000 (05:21 +0000)]
note file renaming
Jim Kingdon [Sun, 8 May 1994 01:59:01 +0000 (01:59 +0000)]
Add a major mode for the breakpoints window.
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.
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.
Steve Chamberlain [Sat, 7 May 1994 23:51:30 +0000 (23:51 +0000)]
Disable single quote strings.
Steve Chamberlain [Sat, 7 May 1994 23:48:50 +0000 (23:48 +0000)]
Die.
Steve Chamberlain [Sat, 7 May 1994 23:48:27 +0000 (23:48 +0000)]
* configure.in (target==go32): Don't build gdb.
* dosrel: New directory.
Stan Shebs [Sat, 7 May 1994 20:11:44 +0000 (20:11 +0000)]
Restore changelog entries clobbered by last checkin.
Ian Lance Taylor [Sat, 7 May 1994 05:01:09 +0000 (05:01 +0000)]
Restore changes clobbered by last check in.
Ian Lance Taylor [Sat, 7 May 1994 04:58:52 +0000 (04:58 +0000)]
It's mh-lynxrs6k, not mh-lynxosrs6k.
Ian Lance Taylor [Sat, 7 May 1994 04:57:38 +0000 (04:57 +0000)]
No, this file really should have been removed, not recreated.
David Henkel-Wallace [Sat, 7 May 1994 00:34:19 +0000 (00:34 +0000)]
various changes for lynx.rs, ericsson, BNR.
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.
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.
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.
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.
Steve Chamberlain [Fri, 6 May 1994 20:28:55 +0000 (20:28 +0000)]
* config/i386/go32.mh: Define CC.
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.
Steve Chamberlain [Fri, 6 May 1994 19:27:57 +0000 (19:27 +0000)]
support for Xgo32X.
Steve Chamberlain [Fri, 6 May 1994 19:25:31 +0000 (19:25 +0000)]
* config/go32.mh : New file for Xgo32X.
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).
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.
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.
Ian Lance Taylor [Fri, 6 May 1994 18:39:04 +0000 (18:39 +0000)]
* gasp.c: Include libiberty.h.
(main): Remove unused variable i.