Ian Lance Taylor
1f59c7a7fd
* lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
...
* ld.texinfo, ld.1: Update accordingly.
1995-02-09 16:41:28 +00:00
Ian Lance Taylor
fa247c00bc
fix comments
1995-02-09 16:31:54 +00:00
Ian Lance Taylor
cdce29f24d
* mh-linux (SYSV): Don't define.
...
(RANLIB): Don't define.
1995-02-09 16:05:25 +00:00
Jim Kingdon
2d336b1b51
* config/sparc/tm-sun4sol2.h, dbxread.c: Rename
...
N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
* symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
filename field.
* elfread.c (record_minimal_symbol_and_info),
minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
newly created symbol.
* elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
Set filename field of minimal symbol.
* symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
Print filename field.
* minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
* symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
* dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
Find address of function from minimal symbols.
* partial-stab.h, case 'f', 'F': Call find_stab_function_addr
instead of getting pst->textlow from the stab.
* minsyms.c (find_stab_function_addr): New function.
1995-02-09 07:00:45 +00:00
Rob Savoye
151e7820c7
* monitor.c: Fix so all the output shows up in the GUI command
...
window.
1995-02-09 02:21:40 +00:00
Stan Shebs
ce2349c52d
* i960-dis.c (struct tabent, struct sparse_tabent): Declare the
...
char fields as signed chars, since they may have negative values.
Fixes PR 6290.
1995-02-09 01:32:35 +00:00
Ken Raeburn
e10c7dfcf4
* messages.c (as_abort): New function.
...
* as.h (as_abort): Declare it.
(abort): New macro.
1995-02-08 23:57:26 +00:00
Ken Raeburn
15f146bec4
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
...
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
* config-gas.com: test for availability of <unistd.h>; create a rudimentary
one if necessary.
1995-02-08 23:52:51 +00:00
Ian Lance Taylor
6581a70a9a
* linker.c (generic_link_check_archive_element): Allocate common
...
symbol information structure. Don't bother to check for common
symbol size overflow.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
* linker.c (generic_link_check_archive_element): Adjust references
to common symbol information for new structure.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
(aout_link_add_symbols): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_link_output_extsym): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
1995-02-08 22:57:48 +00:00
Ian Lance Taylor
3565dee4eb
* ldlang.c (lang_one_common): Adjust references to common symbol
...
information for new structure.
1995-02-08 22:56:15 +00:00
Ken Raeburn
74a8911547
keep utils.{c,h}
1995-02-08 22:55:11 +00:00
Ian Lance Taylor
22a147005c
* bfdlink.h (struct bfd_link_hash_entry): Change format of common
...
symbol information, to remove restrictions on maximum size and
alignment power, by using a pointer to a structure instead.
1995-02-08 22:53:50 +00:00
David Edelsohn
121a846514
elfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
1995-02-08 20:58:01 +00:00
Ken Raeburn
12516a373c
ran "indent -gnu"; have not fixed block comment style
1995-02-08 02:35:44 +00:00
Jeff Law
28860f46fa
* som.c (som_bfd_find_nearest_line): Just return false, don't
...
abort.
1995-02-07 23:29:08 +00:00
Ken Raeburn
f86ee9d623
updated for added/removed files
1995-02-07 22:59:13 +00:00
Ken Raeburn
5489fcc3d9
Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
...
Alpha support.
Long options.
New file format to support more information; backwards compatibility.
Line-level profiling, on systems where bfd_find_nearest_line works.
Selective display of data.
1995-02-07 22:34:18 +00:00
Ken Raeburn
2559e01429
clean up mechanics of mosberger-tang's changes
1995-02-07 20:06:28 +00:00
Ian Lance Taylor
95b0f14bce
* ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
...
any of the fields.
1995-02-07 19:22:43 +00:00
Ken Raeburn
7c2c70f3f1
keep new msdos files
1995-02-07 19:14:32 +00:00
Michael Meissner
06c08e9a1f
Add support for powerpc-*-eabi in configure.in, rebuild configure.
1995-02-07 18:42:04 +00:00
Jeff Law
b4682e519f
Apparently I forgot to commit this change:
...
* config/tc-hppa.c (md_apply_fix): Go ahead and call
hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
relocations in SOM.
(hppa_fix_adjustable): Refine somewhat.
1995-02-07 18:20:57 +00:00
Jim Kingdon
f64a8968db
Fix it so whitespace works out right even with sanitization
1995-02-07 04:46:18 +00:00
Stan Shebs
9c4ecee67e
* i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
...
line, so init.c generation works correctly.
start-sanitize-arc
* arc-tdep.c (_initialize_arc_tdep): Ditto.
end-sanitize-arc
1995-02-07 03:01:16 +00:00
Stan Shebs
ddc0c38d2f
various ChangeLog housekeeping, and
...
Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
1995-02-07 02:44:25 +00:00
Ken Raeburn
97d5a14949
ecoff gprof related fixes & improvements from David Mosberger-Tang
1995-02-07 01:06:25 +00:00
Ian Lance Taylor
23244cd6e0
* ldmain.c (undefined_symbol): Handle section being NULL.
1995-02-06 23:24:20 +00:00
Ian Lance Taylor
5947417403
* libelf.h (struct elf_link_hash_table): Add saw_needed field.
...
* elfcode.h (elf_link_add_object_symbols): Set saw_needed if
DT_NEEDED seen in .dynamic section.
(elf_link_output_extsym): Warn if an undefined symbol is
only referenced from a dynamic object, and not making a shared
object, and saw_needed is false.
* elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.
1995-02-06 23:23:37 +00:00
Ian Lance Taylor
1fa313e244
update comment
1995-02-06 23:19:34 +00:00
Rob Savoye
cf0c2bc1ef
Fix string signifing the right target name.
1995-02-06 22:09:35 +00:00
Rob Savoye
046970407b
* config/mips/idt.mt: Add support for the lsi33k target.
...
* config/sparc/sun4sol2.mh: Add support for ser-tcp.
1995-02-06 22:00:10 +00:00
Rob Savoye
16b3ea5edd
* config/mips/idt.mt: Add support for ser-tcp and the lsi33k
...
target.
* array-rom.c: Finish the rest of the support commands needed by
GDB.
* mips-tdep.c: Add LSI33k register names and processor type.
1995-02-06 21:48:44 +00:00
Rob Savoye
36439cd721
Add the rest of the commands needed by GDB.
1995-02-06 21:43:21 +00:00
Rob Savoye
c2a543679d
Add support for ser-tcp and the Array lsi33k target.
1995-02-06 21:41:28 +00:00
Ian Lance Taylor
0bef7f7266
* libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
...
* elfcode.h (elf_link_add_object_symbols): Don't clear or set
ELF_LINK_HASH_DEFINED_WEAK.
(elf_link_output_extsym): Don't check ELF_LINK_HASH_DEFINED_WEAK.
1995-02-06 21:34:44 +00:00
Ian Lance Taylor
484a089694
tipo
1995-02-06 20:12:54 +00:00
Ian Lance Taylor
8ed88239b4
* ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.
...
* ldexp.c (fold_name): Likewise.
* ldlang.c (print_one_symbol): Likewise.
(lang_finish): Likewise.
* ldmain.c (multiple_common): Likewise.
* ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak
renamed to bfd_link_hash_undefweak.
1995-02-06 20:01:38 +00:00
Ian Lance Taylor
6c97aedf26
Distinguish a weak defined symbol from a regular defined symbol.
...
* linker.c (enum link_action): Add DEFW.
(link_action): Add bfd_link_hash_defweak column.
(_bfd_generic_link_add_one_symbol): Add DEFW case. Handle
bfd_link_hash_defweak in a few other cases.
* Many files (bfd_link_hash_undefweak): Renamed from
bfd_link_hash_weak.
* aoutx.h (aout_link_write_symbols): Handle bfd_link_hash_defweak.
(aout_link_write_other_symbol): Likewise.
(aout_link_input_section_std): Likewise.
(aout_link_input_section_ext): Likewise.
* bout.c (get_value): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_convert_external_reloc): Likewise.
(alpha_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
(mips_relax_section): Likewise.
(bfd_mips_ecoff_create_embedded_relocs): Likewise.
* cofflink.c (coff_write_global_sym): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): LIkewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
(elf32_hppa_size_stubs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_bfd_final_link): Likewise.
(elf_link_output_extsym): Likewise.
* i386linux.c (linux_add_one_symbol): Likewise.
(linux_tally_symbols): Likewise.
(linux_finish_dynamic_link): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(set_symbol_from_hash): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
(bfd_perform_slip): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
(sunos_scan_std_relocs): Likewise.
(sunos_scan_ext_relocs): Likewise.
(sunos_scan_dynamic_symbol): Likewise.
(sunos_write_dynamic_symbol): Likewise.
1995-02-06 20:01:08 +00:00
Ian Lance Taylor
ebc4ca90f9
* bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak
...
to bfd_link_hash_undefweak. Add bfd_link_hash_defweak.
1995-02-06 19:56:27 +00:00
J.T. Conklin
38713e1885
* i386.h: added cpuid instruction , and dr[0-7] aliases for the
...
debug registers. From Charles Hannum (mycroft@netbsd.org ).
1995-02-06 19:00:40 +00:00
J.T. Conklin
9ce4de1912
* i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
...
(mycroft@netbsd.org ).
1995-02-06 18:56:53 +00:00
Ian Lance Taylor
5039302a4c
* scripttempl/alpha.sc: Set address of .data section correctly
...
when -n or -N is used. Patch from Chris G Demetriou
<Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
1995-02-06 17:18:57 +00:00
Ken Raeburn
c54c7aaca3
Bryan Ford's changes for 16-bit i386 support, and i386-msdos support.
1995-02-06 08:53:05 +00:00
Ken Raeburn
a43022bd72
i386 16-bit mode support from bryan ford
1995-02-06 08:38:27 +00:00
Ken Raeburn
5dc8db4897
msdos .exe file support from bryan ford
1995-02-06 08:31:27 +00:00
Jim Kingdon
d039851f9f
* gdbtk.c (gdb_disassemble): Deference pointer to function before
...
calling it (pre-ANSI compilers generally require this).
1995-02-06 04:39:14 +00:00
Jim Kingdon
f78d026a52
* Makefile.in (site.exp): Set host_alias and target_alias as well
...
as host_triplet and target_triplet.
1995-02-05 01:02:40 +00:00
Jim Wilson
ada4e0c2f2
* config.guess (IRIX): Sed - to _.
1995-02-04 20:12:40 +00:00
Kung Hsu
22028e7d7e
* arc.mt: add SER_HARDWIRE=ser-go32-para.o, to overwrite host .mh.
1995-02-04 00:55:51 +00:00
Kung Hsu
c98c60a6b7
* go32.mh, xm-go32.h: redundant files, not needed.
1995-02-04 00:54:15 +00:00