aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2003-01-14(node WIN32): Some clarifications and formatting fixups.Nick Clifton2-8/+68
2003-01-092003-01-09 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-3/+9
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual order, and handle (ignore) -mips32r2.
2003-01-09 * ldmain.c (main): Make sure ld_sysroot is initialized.Daniel Jacobowitz2-0/+6
2003-01-06 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.Daniel Jacobowitz22-412/+648
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. (GENSCRIPTS): Add @use_sysroot@. * Makefile.in: Regenerated. * configure.host: Move setting of NATIVE_LIB_DIRS to... * configure.tgt: ... here. Use ${target} instead of ${host} for NATIVE_LIB_DIRS. * configure.in: Add --with-sysroot. * configure: Regenerated. * genscripts.sh: Accept use_sysroot option. Set new variables NATIVE and USE_LIBPATH. Prepend "=" to directory names if $use_sysroot. Don't search $tool_lib if $use_sysroot. * ldfile.c (ldfile_add_library_path): Handle leading '='. * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. (ld_sysroot): New variable. (main): Initialize ld_sysroot. * ldmain.h (ld_sysroot): New extern. * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of searching $EMULATION_LIBPATH. (gld${EMULATION_NAME}_add_sysroot): New function. (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. (gld${EMULATION_NAME}_after_open): Likewise. Only search environment variables if $NATIVE. * ld.texinfo (Options): Mention "=" prefix in the description of -L. * NEWS: Mention --with-sysroot. * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX instead of setting LIB_PATH. * emulparams/elf32ppc.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf64_sparc.sh: Likewise. * emulparams/elf64ppc.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-05* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.Christopher Faylor2-0/+5
2003-01-04 * Makefile.am (ldmain.o): Pass BINDIR.Daniel Jacobowitz4-4/+22
* Makefile.in: Regenerated. * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first search path.
2003-01-04 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.Stan Cox7-0/+498
(eelf32iq2000.c): New target. * Makefile.in: Regenerate. * configure.tgt: Handle iq2000-*-elf. * emulparams/elf32iq10.sh: New file. * emulparams/elf32iq2000.sh: New file. * scripttempl/iq2000.sc: New file.
2003-01-03 * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.Richard Sandiford2-1/+5
2003-01-02bfd/Richard Sandiford3-0/+152
* elfxx-mips.c: Include libiberty.h. (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. (mips_set_isa_flags): New function, split out from... (_bfd_mips_elf_final_write_processing): ...here. Only call mips_set_isa_flags if the EF_MIPS_MACH bits are clear. (mips_mach_extensions): New array. (mips_32bit_flags_p): New function. (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. Use mips_32bit_flags_p to check if one binary is 32-bit and the other is 64-bit. When adopting IBFD's architecture, adopt the bfd_mach as well as the flags. ld/testsuite/ * ld-mips-elf/jr.s: New file. * ld-mips-elf/mips-elf-flags.exp: New test.
2003-01-02Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.Nick Clifton2-1/+8
2003-01-02 * ldfile.c: Fix comment typos.Kazu Hirata5-14/+21
* ldlang.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.
2003-01-02 Suggested by Manfred Hollstein <manfred.h@gmx.net>:Daniel Jacobowitz3-2/+9
* Makefile.am (ld.1): Depend on configdoc.texi and ldver.texi. * Makefile.in: Regenerated.
2002-12-30Add support for msp430.Nick Clifton48-404/+1757
2002-12-30(HAVE_REALPATH): New entry.Nick Clifton2-6/+9
(HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
2002-12-30New win32 topics: 'symbol aliasing' and 'export dll symbols'.Nick Clifton2-13/+113
2002-12-23 * ldmain.c (main): Init "strip_discarded".Alan Modra3-9/+30
* lexsup.c (OPTION_STRIP_DISCARDED): Define. (OPTION_NO_STRIP_DISCARDED): Define. (ld_options): Add "strip-discarded" and "no-strip-discarded". (parse_args): Handle them.
2002-12-23Change linker's default behaviour - it will now reject binary files whoesNick Clifton7-3/+43
architecture it does not recognise, unless it has explicitly told to accept them.
2002-12-19 * ldmain.c (main): Re-order link_info initialization. Init allAlan Modra2-13/+21
fields.
2002-12-19Clarify and extend the documentation in the Machine Dependent, WIN32 section.Nick Clifton2-32/+141
2002-12-18Add win32 library search path.Nick Clifton2-1/+3
2002-12-18Add win32 machine depending section.Nick Clifton3-2/+123
2002-12-18Test the auto importing direct from a dll functionality.Nick Clifton4-0/+243
2002-12-17Don't search for data import when auto-import is disabled.Nick Clifton2-63/+75
2002-12-17Use LD_PATHMAX+1 to account for trailing '\0'.Nick Clifton2-2/+7
2002-12-17Duplicate entry for --compact-implib so that it is not confused with -c.Nick Clifton2-0/+8
2002-12-16Add support to skip import libraries for performance reasons and insteadNick Clifton9-72/+208
use the direct auto-import of dll's
2002-12-12* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.Alexandre Oliva3-31/+5
* ld-mips-elf/branch-misc-2.d: Removed.
2002-12-10* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.Jason Thorpe2-0/+17
2002-12-10 * emultempl/elf32.em (struct orphan_save): Add os_tail field.Alan Modra2-0/+28
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement list too.
2002-12-08 * ldlang.h: Formatting.Alan Modra2-48/+85
2002-12-06 * ldlang.c (init_os): Ensure sections mentioned in load_baseAlan Modra2-0/+8
are initialized.
2002-12-04 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): SetAlan Modra2-3/+18
load_base for orphans that follow a section with load_base set.
2002-12-03Fix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure thatNick Clifton6-1/+38
the fix continues to work.
2002-12-022002-12-01 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ld.texinfo: Remove the extra `;' in sample version script.
2002-12-01 Fix PR savannah/1417:Stephane Carrez3-0/+42
* ld-m68hc11/bug-1417.s: New test. * ld-m68hc11/bug-1417.d: Likewise.
2002-11-30 * configure.host: Correct dynamic-linker for powerpc64 hosts.Alan Modra2-0/+6
2002-11-30 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.Alan Modra3-2/+7
* Makefile.in: Regenerate.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra46-1215/+1352
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-28 * symbols.c (S_SET_THREAD_LOCAL): New function.Jakub Jelinek2-10/+14
* symbols.h (S_SET_THREAD_LOCAL): New prototype. * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for TLS relocations. * config/tc-ia64.c (md_apply_fix3): Likewise. * config/tc-alpha.c (md_apply_fix3): Likewise. * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
2002-11-28 * elf32-sh.c (sh_elf_relocate_section): Don't complain aboutKaz Kojima5-0/+45
unresolved debugging relocs in dynamic applications. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * ld-sh/refdbg-0-dso.d: New test. * ld-sh/refdbg-1.d: Likewise. * ld-sh/refdbg.s: Likewise. * ld-sh/refdbglib.s: Likewise.
2002-11-282002-11-27 David O'Brien <obrien@FreeBSD.org>David O'Brien2-1/+5
* configure.host: Fix generic FreeBSD configuration entry.
2002-11-272002-11-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* ld.texinfo: Add the missing `;' to sample version scripts.
2002-11-21 * ld-elf/elf.exp: Remove sec64k test.Alan Modra3-128/+162
* ld-elf/sec64k.exp: Reinstate.
2002-11-21 * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.Alan Modra5-4/+55
* ld-elf/merge.s: New file. * ld-elf/merge.d: New file. * ld-elf/merge.ld: New file.
2002-11-20 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.Alan Modra3-11/+20
Also move some changelog entries to where they belong.
2002-11-18TIC4X testcase commitSvein Seldal2-0/+8
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x from test * binutils/testsuite/binutils-all/objdump.exp: Setup proper values for tic4x testcase * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/tic4x: New tic4x gas testsuite directory * ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
2002-11-15Fix h8300 relaxation.Nick Clifton4-0/+71
2002-11-14Add --enable-auto-import extension.Nick Clifton6-45/+214
2002-11-12 * ldlang.c (lang_add_section): Discard debugging sections that haveAlan Modra2-4/+10
been marked SEC_EXCLUDE.
2002-11-12Add new/updated Danish translationsNick Clifton4-2/+1710