Elena Zannoni
235d1e0322
2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
From Daniel Berlin <dberlin@redhat.com> :
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
language to auto instead of unknown, so it will try to demangle
the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.
2000-10-12 19:34:27 +00:00
DJ Delorie
627427debc
* emultempl/pe.em (pe_dll_search_prefix): New variable,
...
(longopts): New --dll-search-prefix option.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse_args): Handle.
(gld_${EMULATION_NAME}_open_dynamic_archive): When linking
dynamically, search for a dll named '<prefix><basename>.dll'
in preference to 'lib<basename>.dll' if --dll-search-prefix
is specified.
2000-10-12 19:18:20 +00:00
DJ Delorie
9eb01b42f6
* Make comma after string after icon/control optional.
2000-10-12 17:47:35 +00:00
Elena Zannoni
fba7f19cf6
2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
From Daniel Berlin <dberlin@redhat.com> :
* symtab.c (lookup_symbol_aux): New function. Renamed from
lookup_symbol. Move code to do demangling/case sensitivity to
lookup_symbol().
(lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
perform case sensitivity/demangling without leaking memory. Move
code to do demangling/case sensitivity from old_lookup_symbol to
here.
(lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
SYMBOL_NAME.
(lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
SYMBOL_NAME. Don't do linear search in case of C++.
* symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
SYMBOL_NAME.
(compare_psymbols): Same here.
2000-10-12 16:53:06 +00:00
Alan Modra
24376d1b58
Another try at correcting relocations against discarded
...
link-once section symbols.
2000-10-12 03:44:51 +00:00
DJ Delorie
74bcd5294f
merge from gcc repository
2000-10-12 02:16:48 +00:00
Alan Modra
3ef20aaa54
Include alloca-conf.h
2000-10-12 01:28:06 +00:00
Kazu Hirata
30a2b4ef8f
2000-10-12 Kazu Hirata <kazu@hxi.com>
...
* app.c: Fix formatting.
* as.c: Likewise.
* as.h: Likewise.
* bit_fix.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.
2000-10-11 20:24:32 +00:00
Alan Modra
d01e2a23a3
Revert 2000-10-07 link-once section symbol changes.
2000-10-11 07:05:02 +00:00
Kazu Hirata
e47d05ade6
2000-10-10 Kazu Hirata <kazu@hxi.com>
...
* deffile.h: Fix formatting.
* lexsup.c: Likewise.
* mri.c: Likewise.
2000-10-11 00:16:07 +00:00
Alan Modra
c0e219ccea
Fix my last change to actually compile.
2000-10-10 23:38:27 +00:00
Alan Modra
fe268b663f
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
2000-10-10 15:50:35 +00:00
Alan Modra
4d7ce4dd48
* section.c (bfd_make_section_anyway): Release newsect ptr when
...
newsect->symbol fails to alloc. Use bfd_release instead of free.
2000-10-10 15:23:38 +00:00
Kevin Buettner
120abad8b7
Protoization.
2000-10-10 05:17:25 +00:00
DJ Delorie
23a87948dd
* pe-dll.c (make_one): Do not generate code thunk for DATA
...
exports.
(process_def_file): deduce DATA flag for auto-export sumbols.
2000-10-10 03:28:01 +00:00
Richard Henderson
f3b6f7c34d
* elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
...
(elf64_ia64_unwind_entry_compare): New.
(elf64_ia64_final_link): Sort the .IA_64.unwind section.
2000-10-09 23:16:30 +00:00
Peter Schauer
16d6ab6428
* config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
...
reference to gethostbyname.
2000-10-09 19:40:37 +00:00
Kazu Hirata
7bfd51a382
2000-10-09 Kazu Hirata <kazu@hxi.com>
...
* pe-dll.c: Revert some formatting fixes.
2000-10-09 15:46:45 +00:00
Kazu Hirata
89cdebba13
2000-10-09 Kazu Hirata <kazu@hxi.com>
...
* ldcref.c: Fix formatting.
* ldctor.h: Likewise.
* ldemul.c: Likewise.
* ldemul.h: Likewise.
* ldexp.c: Likewise.
* ldexp.h: Likewise.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ld.h: Likewise.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldmain.c: Likewise.
2000-10-09 15:09:17 +00:00
Kazu Hirata
86b1cc60c0
2000-10-09 Kazu Hirata <kazu@hxi.com>
...
* pe-dll.c: Fix formatting.
2000-10-09 07:01:29 +00:00
Kazu Hirata
d643799dab
2000-10-08 Kazu Hirata <kazu@hxi.com>
...
* pe-dll.c: Fix formatting.
2000-10-09 01:37:11 +00:00
Hans-Peter Nilsson
d63083ef85
* ld-selective/selective.exp: Rearrange to be table-driven.
2000-10-09 01:35:13 +00:00
Ben Elliston
a8d894af63
* usability improvements
...
2000-10-08 Ben Elliston <bje@redhat.com>
* cgen-utils.c (cgen_rtx_error): New function.
2000-10-07 Ben Elliston <bje@redhat.com>
* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
conditions for sim_core_read_buffer().
2000-10-08 22:37:14 +00:00
Ben Elliston
454313e5ed
Whitespace tweak: replace leading spaces with a hard tab.
2000-10-08 22:31:22 +00:00
Alan Modra
dc1fc56bde
(md_apply_fix): Remove bad assert added 2000-09-26.
2000-10-07 14:38:32 +00:00
Alan Modra
dc149a6d17
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too
2000-10-07 13:57:29 +00:00
Alan Modra
fc8c40a057
Cure a number of segfaults caused by /DISCARD/ of dynamic sections.
2000-10-07 13:40:33 +00:00
Alan Modra
44852b190c
Make elf section symbols global for link-once sections.
2000-10-07 12:52:15 +00:00
Kevin Buettner
d742f2c220
Protoization.
2000-10-06 21:50:56 +00:00
DJ Delorie
3e4554a206
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
...
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs
2000-10-06 19:47:51 +00:00
Dave Brolley
fb27a91c6c
2000-10-06 Dave Brolley <brolley@redhat.com>
...
* sem.c: Regenerated.
* sem-switch.c: Regenerated.
* semx-switch.c: Regenerated.
2000-10-06 16:59:56 +00:00
Dave Brolley
ce852dd37c
2000-10-06 Dave Brolley <brolley@redhat.com>
...
* sem.c: Regenerated.
* sem-switch.c: Regenerated.
2000-10-06 16:58:40 +00:00
Dave Brolley
f40c3ea3c7
2000-10-06 Dave Brolley <brolley@redhat.com>
...
* fr30-desc.h: Regenerate.
* m32r-desc.h: Regenerate.
* m32r-ibld.c: Regenerate.
2000-10-06 16:57:26 +00:00
Jim Wilson
fa152c4930
Preserve machine dependent section header flags when reading ELF object file.
...
* elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
field.
* elf.c (_bfd_elf_make_section_from_shdr): Call the
elf_backend_section_flags function.
* elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
code.
(elf64_ia64_section_flags): New function containing flag conversion
code.
(elf_backend_section_flags): Define to elf64_ia64_section_flags.
* elfxx-target.h (elf_backend_section_flags): Define.
(elfNN_bed): Initialize elf_backend_section_flags field.
2000-10-05 22:22:27 +00:00
Jim Wilson
afa680f89a
Minor DV table update, minor DV checking bug fix.
...
* config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
* ia64-ic.tbl: Update from Intel.
* ia64-asmtab.c: Regenerate.
2000-10-05 21:55:25 +00:00
Kazu Hirata
08da4cac4a
2000-10-05 Kazu Hirata <kazu@hxi.com>
...
* ldlang.c: Fix formatting.
2000-10-05 13:03:30 +00:00
Alan Modra
ce8a8b2f62
Correct handling of non-global syms in linkonce sections.
...
Tidy a few comments.
2000-10-05 01:49:36 +00:00
Kevin Buettner
077276e87b
Add a limit parameter for scanning the prologue.
2000-10-05 01:13:53 +00:00
Kazu Hirata
d1e28e240d
2000-10-04 Kazu Hirata <kazu@hxi.com>
...
* ia64-gen.c: Convert C++-style comments to C-style comments.
* tic54x-dis.c: Likewise.
2000-10-04 06:38:01 +00:00
Alan Modra
56d27c17b8
Excise C++ style comments.
2000-10-04 00:28:45 +00:00
Kevin Buettner
69dc947abb
Protoization.
2000-10-03 22:42:32 +00:00
DJ Delorie
c2a94a7afd
* pe-dll.c (fill_edata): initialize entire block
...
(make_one): fill in correct section.
2000-10-03 22:07:17 +00:00
Kazu Hirata
8c95a62eae
2000-10-03 Kazu Hirata <kazu@hxi.com>
...
* ldexp.c: Fix formatting.
2000-10-03 07:31:55 +00:00
DJ Delorie
486e80e2d5
* emultempl/pe.em (gld_*_after_open): detect case where there two
...
import libraries for same dll; rename one to ensure proper link
order.
* pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
typo
(generate_edata): fix typo
2000-10-02 14:39:46 +00:00
Alan Modra
65420b22d1
Remove some hppa-elf fudges.
2000-10-02 10:18:14 +00:00
Alan Modra
36605136d4
Correct call to _bfd_elf32_gc_record_vtable.
2000-10-02 09:09:27 +00:00
Ulf Carlsson
4b6609a057
2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
...
From Ralf Baechle <ralf@gnu.org>
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
produces binaries with got[1] = 0x80000001 to differenciate them
for the dynamic linker from the broken binaries produced by old
versions.
2000-10-02 06:04:16 +00:00
Kevin Buettner
e082ddcac6
Protoization.
2000-10-02 00:49:55 +00:00
Alexandre Oliva
d64552c589
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
...
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt
all affected `configure' scripts.
2000-09-30 06:07:00 +00:00
Kevin Buettner
8ae45c112d
Make definitions of supply_gregset, fill_gregset, supply_fpregset,
...
and fill_fpregset match declarations in gregset.h.
2000-09-30 05:41:39 +00:00