aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1999-01-11Fill .init and .fini sections with NOPsNick Clifton2-2/+7
1999-01-03(Ugh. Last checkin was supposed to have been aborted. Oops.)Ken Raeburn1-2/+1
Replace elf-offset.ld with a version we can ship. Use "-T" in linker invocation when specifying linker script.
1999-01-03sanitization for new test case. discard it when sanitizing, until it getsKen Raeburn3-8/+13
rewritten or assigned to the fsf.
1999-01-03* Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, HOSTING_CRT0,Ken Raeburn3-24/+60
HOSTING_LIBS; the test suite can extract them from configure.host and configure.tgt now. * Makefile.in: Rebuild.
1999-01-03 * config/default.exp (get_link_files, get_target_emul): New procs;Ken Raeburn4-18/+126
run shell commands to extract information from configure.host and configure.tgt in the source tree. (top level): Use them to get information needed to run tests, if not otherwise provided. Should allow running of at least some of the tests by releng. * ld-shared/elf-offset.ld: New file. Builds a shared library, but gives non-zero addresses for memory region. * ld-shared/shared.exp: Run the non-PIC non-AIX test again using the new linker script. PR ld/17962 -- not fixed, but customer has what should be an adequate workaround.
1998-12-27Update.Ulrich Drepper1-0/+26
1998-12-10Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>Ian Lance Taylor2-5/+4
* Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o. (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead. * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES) if configuring with all targets. * configure, Makefile.in, aclocal.m4: Rebuild. * emultempl/pe.em (pe_enable_stdcall_fixup): Make static. (pe_dll_do_default_excludes): Removed, unused. (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats, pe_dll_stdcall_aliases): Don't initialize them, this file may be compiled more than once. * pe-dll.c (pe_def_file, pe_dll_export_everything, pe_dll_do_default_excludes, pe_dll_kill_ats, pe_dll_stdcall_aliases): Define and initialize them here instead. (generate_reloc): Fix allocation of reloc_addresses array to use bfd_vma instead of unsigned long. Fix element size in qsort call. (reloc_sort): Compare pointers to bfd_vma instead of unsigned long.
1998-12-08Mon Dec 7 21:10:09 1998 J.J. van der Heijden ↵Ian Lance Taylor1-0/+5
<j.j.vanderheijden@student.utwente.nl> * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific files.
1998-12-06 * configure.tgt (m68*-*-gnu*): New target. From Aymeric VincentIan Lance Taylor2-2/+12
<aymeric.vincent@emi.u-bordeaux.fr>.
1998-12-06Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>Ian Lance Taylor1-0/+46
* ld-elfvers/vers1.c: Add missing return types and values. * ld-elfvers/vers2.c: Likewise. * ld-elfvers/vers3.c: Likewise. * ld-elfvers/vers4.c: Likewise. * ld-elfvers/vers5.c: Likewise. * ld-elfvers/vers6.c: Likewise. * ld-elfvers/vers7.c: Likewise. * ld-elfvers/vers9.c: Likewise. * ld-elfvers/vers15.c: Likewise.
1998-12-04Change default start address to 0x10000 so that it fits in 20 bitsNick Clifton2-2/+15
1998-11-25* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"DJ Delorie3-3/+218
* ldemul.c (ldemul_recognized_file): new function, new hook * ldint.texinfo: document new hook. * ldlang.c (load_symbols): call recognized_hook for all objects we do recognize, in case the emulation needs to handle them specially. PE DLLs use this. * pe-dll.c (pe_dll_generate_def_file): take out hack and debug printfs * emultempl/pe.em (gld_i386_recognized_file): new function (gld_i486_unrecognized_file): take out hack
1998-11-25For top level:Gavin Romig-Koch2-1/+37
* config.sub (mips64vr4xxx,mips64vr4xxxel): New. For gcc: * config.sub (mips64vr4xxx,mips64vr4xxxel): New. * configure.in (mips64vr4xxx,mips64vr4xxxel): New. * config/mips/t-vr4xxx: New. * config/mips/elfb4xxx.h: New. * config/mips/elfl4xxx.h: New. * configure: Rebuilt. For gas: * config/tc-mips.c (md_begin): Added mip64vr4xxx as a possible CPU_TARGET. For gdb: * configure.tgt: Handle mips64*vr4xxx. For ld: * configure.tgt: Handle mips64*vr4xxx.
1998-11-24 * pe-dll.c (make_head): name object files sequentially to ensureDJ Delorie2-11/+185
they link in the right order. (make_tail): same here (pe_process_import_defs): use sequential names for bfds to ensure proper link order. (pe_implied_import_dll): new function; handles linking directly against DLLs by simulating IMPORTS directives. * emultempl/pe.em (gld_i386pe_before_parse): hack bfd to not recognize .dll files via bfd_pe_dll_not_recognized_hack
1998-11-24* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call toDJ Delorie2-1/+8
pe_dll_add_excludes
1998-11-23fix for arm-pe linker testsuite failures - only define an entry symbol if ↵Nick Clifton2-1/+7
one has been specified.
1998-11-23 * emultempl/pe.em (gld_i386pe_after_open): callDJ Delorie3-109/+195
pe_process_import_defs * pe-dll.c (pe_dll_generate_def_file): calculate BASE from pe_data, only print if actually set. Print version only if set. (save_relocs): save relocs for both input and output. (make_one): support internal/external different names. (pe_dll_generate_implib): support new make_one (pe_process_import_defs): new function; handles IMPORT directives in .def files.
1998-11-20Coper with empty symbol names.Nick Clifton1-0/+4
1998-11-19Add provision of _end symbol.Nick Clifton1-0/+4
1998-11-19Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-27/+46
* configure.tgt: change refs from cygwin32* to cygwin*. * aclocal.m4: regenerate * configure.in: don't need to call AM_CYGWIN32. * configure: regenerate
1998-11-19Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+4
* configure.tgt: change refs from cygwin32* to cygwin*.
1998-11-17typoDJ Delorie1-0/+2
1998-11-17* emultempl/pe.em (gld_i386_finish): generate import libraryDJ Delorie3-7/+497
* deffile.h: add hint member. * pe-dll.c (pe_dll_generate_implib): New function with helpers; generates the import library directly from the export table. (fill_edata): remember the actual hint for the import library.
1998-11-14 * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>.Ian Lance Taylor2-5/+13
1998-11-13Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley1-0/+28
* po/ld.pot: Regenerated. * po/POTFILES.in: Regenerated.
1998-11-13Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley3-275/+713
* po/ld.pot: Regenerated. * po/POTFILES.in: Regenerated. * configure: Regenerated. * aclocal.m4: Regenerated. * Makefile.in: Regenerated.
1998-11-11* pe-dll.c (generate_reloc): don't output PE relocs for sectionsDJ Delorie2-1/+25
that won't be loaded.
1998-11-11* pe-dll.c (fill_edata): don't strip underscoresDJ Delorie2-1/+5
1998-11-11* ld.texinfo: added i386pe option summaryDJ Delorie1-0/+4
1998-11-10 * pe-dll.c (process_def_file): properly note undefined exportedDJ Delorie3-111/+184
symbols, clean up old code. (pe_dll_generate_def_file): don't crash if pe_def_file is NULL * emultempl/pe.em (gld_i386_parse_args): add (en/dis)able-stdcall-fixups (pe_fixup_stdcalls): warn about stdcall fixups (gld_i386_unrecognized_file): make exported symbols undefs so that archive members get pulled in
1998-11-10 * scripttempl/elfd10v.sc: Add KEEP attribute to .init,Catherine Moore1-0/+6
.fini, .dtors and .ctors. Add .data and .text wildcards to support section garbage collection.
1998-11-10* deffilep.y: properly handle relocs with multiple def_files,DJ Delorie3-3/+19
cache import module names
1998-11-10* pe-dll.c (process_def_file): don't assume exports won't moveDJ Delorie2-8/+15
during a realloc
1998-11-09* pe-dll.c (process_def_file): auto-export everything ifDJ Delorie2-1/+3
nothing is otherwise exported.
1998-11-09* emultempl/pe.em (gld_i386_list_options): list dll-specific options.DJ Delorie2-0/+7
1998-11-09oops, wasn't done editing that one yet.DJ Delorie1-3/+5
1998-11-09 * pe-dll.c: New file; direct support for PE DLLsDJ Delorie10-248/+2625
* deffile.h: New file; direct support for PE DLLs * deffilep.y: New file; direct support for PE DLLs * emultempl/pe.em: add direct support for PE DLLs * configure.tgt: allow target-specific extra files * configure.in: allow target-specific extra files * ldlang.c (lang_add_assignment): return the assignment so that one can change the value later based on the object files (pe-dll DEF files do this) * ldint.texinfo: add section for emulation walkthrough
1998-11-05Add sanitization for FR30Nick Clifton2-0/+2
1998-11-05Add support for FR30Nick Clifton6-22/+194
1998-11-02Don't report error for dynamic links and --gc-sections.Catherine Moore1-0/+5
1998-10-271998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com>Ulrich Drepper1-65/+79
* lexsup.c (ld_options): Change text of -O to Optimize output file". (parse_args): Set link_info.optimize based on -O argument. * ldmain.c (main): Initialize link_info.optimze to false. * ld.texinfo: Describe -O option. * ld.1: Likewise.
1998-10-27Describe -O option.Ulrich Drepper2-0/+36
1998-10-27(main): Initialize link_info.optimze to false.Ulrich Drepper1-1/+10
1998-10-24add ld-selectiveCatherine Moore1-0/+1
1998-10-24New for ld-selectiveCatherine Moore1-0/+48
1998-10-23 * ld-selective: New directory with new files to testCatherine Moore4-0/+92
selective linking. * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
1998-10-09 * scripttempl/elf.sc: Merge .sdata.* etc sections.Catherine Moore1-0/+6
* ldctor.c (ldctor_build_sets): Set SEC_KEEP for ctor sections.
1998-10-05 * ldmain.c (main): Error if --gc-sections andCatherine Moore2-5/+15
dyanmic linking. * scripttempl/v850.sc: Add KEEP attribute to .init, .fini, .dtors and .ctors. Add .data and .text wildcards to support section garbage collection.
1998-09-30Fix for PR 17063 - do not create a section called .call_table, instead createNick Clifton2-4/+56
sections called .call_table_data and .call_table_text.
1998-09-29Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>Richard Henderson7-0/+35
* ld-elfvers/vers.exp: Run tests on alpha-linux. * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match Alpha's use of st_other. 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * ld-elfvers/vers.exp (vers16, vers16a): New tests. * ld-elfvers/{vers16.*, vers16a.*}: New files.