aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2001-08-022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>Charles Wilson1-5/+156
* ldmain.c (main): initialize link_info.pei386_auto_import * pe-dll.c: new tables for auto-export filtering (auto_export): change API, pass abfd for contextual filtering. Loop thru tables of excluded symbols instead of comparing "by hand". 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> * pe-dll.c: new variable pe_dll_enable_extra_debug. New static variable current_sec (static struct sec *). Add forward declaration for add_bfd_to_link. (process_def_file): Don't export undefined symbols. Do not export symbols starting with "_imp__". Call auto_export() with new API. (pe_walk_relocs_of_symbol): New function. (generate_reloc): add optional extra debugging (pe_dll_generate_def_file): eliminate extraneous initial blank line in output (make_one): enlarge symtab to make room for __nm__ symbols (DATA auto-import support). (make_singleton_name_thunk): New function. (make_import_fixup_mark): New function. (make_import_fixup_entry): New function. (pe_create_import_fixup): New function. (add_bfd_to_link): Specify that 'name' argument is a CONST char *. * pe-dll.h: declare new variable pe_dll_extra_pe_debug; declare new functions pe_walk_relocs_of_symbol and pe_create_import_fixup. * emultempl/pe.em: add new options --enable-auto-import, --disable-auto-import, and --enable-extra-pe-debug. (make_import_fixup): New function. (pe_find_data_imports): New function. (pr_sym): New function. (gld_${EMULATION_NAME}_after_open): Add optional extra pe debugging. Call pe_find_data_imports. Mark .idata as DATA, not CODE. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add additional documentation for --export-all-symbols. Document --out-implib, --enable-auto-image-base, --disable-auto-image-base, --dll-search-prefix, --enable-auto-import, and --disable-auto-import. * ldint.texinfo: Add detailed documentation on auto-import implementation.
2001-08-01Do not require any exception support library. Check results against NRV.Nick Clifton3-17/+59
2001-08-01Do not require any exception support library.Nick Clifton2-1/+6
2001-07-30Fix computation in SECTIONS example.Nick Clifton2-1/+6
2001-07-272001-07-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* ld-selective/selective.exp: Fix the error in the last change.
2001-07-24 * ld-selective/selective.exp: Support g++ V3 ABI (along sideAlan Modra2-4/+18
the old ABI). Make comparisons against normalized (to V3-style) demangled nm output.
2001-07-24 * config/default.exp (ld_nm): Add "nmflags" arg.Alan Modra9-11/+22
* lib/ld-lib.exp (default_ld_nm): Likewise. * ld-empic/empic.exp: Adjust call to ld_nm. * ld-scripts/defined.exp: Likewise. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise. * ld-selective/selective.exp: Likewise. * ld-sh/sh.exp: Likewise.
2001-07-24Update dependencies with "make dep-am".Alan Modra3-3/+8
2001-07-23 * ldcref.c (check_section_sym_xref): New function.Alan Modra2-62/+102
(check_nocrossrefs): Call it. (check_nocrossref): Interate over h->refs here instead of.. (check_refs): ..here. Pass in the symbol name, section, and bfd rather than hash_entry pointers. (struct check_refs_info): Keep symbol name rather than hash entry. Remove "same". (check_reloc_refs): Tweak for above changes in check_refs_info. Only report references to section syms when symname is NULL to prevent duplicate messages for the same reloc.
2001-07-19Use stderr if config.map_file is not available. Do not print NULL trees.Nick Clifton2-48/+57
2001-07-19If a region is specified assign it to all sections inside the overlay unless ↵Nick Clifton2-1/+16
they have been assigned to the own, non-default, memory region.
2001-07-19Change bug reporting email address.Nick Clifton2-0/+6
2001-07-142001-07-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+10
* emultempl/elf32.em (output_prev_sec_find): Never return bfd_abs_section_ptr, bfd_com_section_ptr nor bfd_und_section_ptr.
2001-07-14Fix dependency for em32relf.cNick Clifton3-3/+9
2001-07-14 * configure.tgt (i386-*-netbsdelf*): New target.Matthew Green2-1/+11
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2001-07-13 * emultempl/elf32.em (output_prev_sec_find): New.Jakub Jelinek2-6/+44
(place_orphan): Use it.
2001-07-122001-07-12 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+9
* ld-selective/selective.exp: Mark selective1, selective2, selective4 and selective5 xfail on alpha*-*.
2001-07-112001-07-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* ldmain.c (main): Fix typos in the last change.
2001-07-112001-07-11 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2-0/+12
* ldmain.c (main): Disallow -F and -f without -shared.
2001-07-11Check for the output_bfd not having any coff_data structure allocated to it.Nick Clifton2-1/+6
2001-07-102001-07-09 David O'Brien <obrien@FreeBSD.org>David O'Brien2-0/+9
* emultempl/elf32.em: Do not assuming that contents of the buffer returned from basename function will remain unchanged accross other function calls. NOTE: DJ Delorie recomends doing a basename()->lbasename() conversion. Approved by: DJ Delorie <200107100030.UAA01223@envy.delorie.com>
2001-07-032001-07-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+6
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on 2001-07-03. It creates dynamic entries even for static binaries.
2001-07-032001-07-03 Jakub Jelinek <jakub@redhat.com>H.J. Lu2-1/+16
* scripttempl/elf.sc (DYNAMIC_PAD): New variable. (DYNAMIC): Use it to reserve few dynamic entries for post-linking tools.
2001-06-27 * emulparams/hppa64linux.sh: New file.Alan Modra5-7/+64
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o (ehppa64linux.c): Add rule to make it. Run "make dep-am". * Makefile.in: Regenerate.
2001-06-20 * ld.texinfo (Options, -r): Mention restrictions when usingHans-Peter Nilsson2-1/+13
different object formats.
2001-06-19 * ldlang.c (lang_check): Emit fatal error if relocatable linkHans-Peter Nilsson2-0/+17
between different object flavours with relocations in input.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+20
* ld.texinfo (-E, --export-dynamic): Mention --version-script. (--version-script): Mention the language support.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+4
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2001-06-19Remove auot generated man pagesNick Clifton4-1452/+25
2001-06-18 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Hans-Peter Nilsson5-7/+8
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. * ld.h (args_type): Remove member export_dynamic. All users changed to use struct bfd_link_info member.
2001-06-18 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend onHans-Peter Nilsson3-10/+16
$(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. * Makefile.in: Regenerate.
2001-06-182001-06-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+9
* ldlang.c (init_os): Add the newline to the einfo call. (lang_check): Likewise. (lang_do_version_exports_section): Likewise.
2001-06-162001-06-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+8
* lexsup.c (parse_args); Save optind to report unrecognized option.
2001-06-15 * ldlang.c (lang_check): Emit fatal error if relocatable linkHans-Peter Nilsson2-0/+8
between different object flavours.
2001-06-15 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:Hans-Peter Nilsson3-0/+8
Set new link_info member export_dynamic. * ldmain.c (main): Initialize new link_info member export_dynamic.
2001-06-15Chnage load_symbols() to a boolean functionNick Clifton2-25/+54
2001-06-13 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,Hans-Peter Nilsson3-0/+555
OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide default. * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add new options "ld", "source", "xfail", "target", "notarget" and "error". Support the runtest_file_p "*.exp=testname" feature. (slurp_options, regexp_diff, file_contents, verbose_eval): Import from gas testsuite.
2001-06-12Correct setup_xfail rule.Nick Clifton2-1/+5
2001-06-10Move an entry to the correct ChangeLog.Alan Modra2-14/+13
2001-06-08 * ldlang.c (record_bfd_errors): Remove.Alan Modra3-49/+8
* emultempl/aix.em: Fix copyright dates.
2001-06-07 * emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.Andreas Jaeger2-9/+14
(TEXT_START_ADDR): Likewise.
2001-06-06Fix a typo.H.J. Lu1-1/+1
2001-06-062001-06-06 H.J. Lu <hjl@gnu.org>H.J. Lu9-10/+43
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 on Linux/mips. * ld-elfvers/vers.exp: Also run on istarget Linux/mips. * ld-elfvsb/elfvsb.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Mark selective2, selective3, selective4 and selective5 xfail on Linux/mips. * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. * ld-srec/srec.exp: Add Linux/mips to xfail.
2001-06-06 * ld-undefined/undefined.exp: Add a setup_xfail line for a testAlan Modra2-0/+12
that will always fail on s/390.
2001-06-06 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.Alan Modra2-3/+7
2001-06-05* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.DJ Delorie2-1/+5
2001-05-312001-05-31 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+5
* ldlang.c (open_input_bfds): Don't change the bfd error handler whilst loading symbols.
2001-05-28For sh-*-linux-gnu target add a start address for the text section.Nick Clifton2-1/+13
2001-05-28Rmeove i370-mvs architecture - it is not supported.Nick Clifton2-1/+5
2001-05-252001-05-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK like emulparams/aixppc.sh.