aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
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
2002-11-12 * emultempl/ppc64elf.em (ppc_before_allocation): New function.Alan Modra3-60/+82
(LDEMUL_BEFORE_ALLOCATION): Define. (gld${EMULATION_NAME}_finish): Run discard_info for relocatable linking. * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
2002-11-12* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.Christopher Faylor2-1/+7
2002-11-11* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list ofChristopher Faylor2-0/+7
restricted auto-export libs.
2002-11-11* pe-dll.c (autofilter_liblist): Generalize library names to catch moreChristopher Faylor2-6/+11
creative library naming instances like, e.g., libstdc++-2.a.
2002-11-11 * ld-elf/sec64k.exp: New test.Hans-Peter Nilsson3-1/+168
* lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" to a source file starting with "/".
2002-11-10 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,Hans-Peter Nilsson5-10/+15
ld-mmix/local7.d: Tweak for change in readelf output.
2002-11-09 * ld-elfvsb/define.s: Avoid use of @ in .type directive.Alan Modra2-3/+7
2002-11-07Fix attribution last entryHans-Peter Nilsson1-1/+1
2002-11-07 * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,Hans-Peter Nilsson6-0/+67
ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
2002-11-07Only run tests for PE type x86 targets.Nick Clifton2-3/+6
2002-11-07* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.Alexandre Oliva3-0/+9
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
2002-11-06 * ld-sh/rd-sh.exp: Set asflags_save always.Kaz Kojima2-2/+7
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton8-241/+371
(i386)
2002-11-04 * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.Kaz Kojima6-6/+23
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5. * ld-sh/tlspic-1.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols defined by the linker scripts.
2002-10-30 * emultempl/aix.em: Use include <> for generated headers.Daniel Jacobowitz16-15/+34
* emultempl/beos.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/pe.em: Likewise. * ldctor.c: Likewise. * ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldlex.c: Likewise. * ldlex.l: Likewise. * ldmain.c: Likewise. * ldmisc.c: Likewise. * ldwrite.c: Likewise. * lexsup.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.
2002-10-23 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*Jakub Jelinek2-0/+6
sections into .rel{,a}.dyn.
2002-10-23Add new command line option "--no-omagic" which undoes the effects of -N.Nick Clifton4-2/+30
2002-10-23(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): AddNick Clifton2-4/+9
only when relocating.
2002-10-22* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according toAlexandre Oliva6-14/+38
emulation name. Set LIB_PATH only for native tools, and search the ABI-specific versions of NATIVE_LIB_DIRS before the .../lib variants, not instead of them. Mostly copied from... * emulparams/elf32ppc.sh: ... here. Fixed typo. * emulparams/elf64bmip-defs.sh: Backed out. * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. * emulparams/elf64btsmip.sh: Likewise. (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, TEXT_DYNAMIC): Removed.
2002-10-17* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.Alexandre Oliva7-28/+52
(GENERATE_SHLIB_SCRIPT): Set to yes. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... * emulparams/elf32bmipn32.sh: here. (GENERATE_SHLIB_SCRIPT): Deleted as redundant. * emulparams/elf32btsmipn32.sh: Delete redundant unsets. * emulparams/elf64bmip-defs.sh: New file. Extend elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. * emulparams/elf64bmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant settings. (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. * emulparams/elf64btsmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
2002-10-16 * config.bfd (s390-*-linux*): Add targ64_selvecs.Jakub Jelinek5-43/+88
(s390x-*-linux*): Add targ_selvecs. * config.table: Use mh-s390pic for s390x too. * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. (s390-*-linux*): Add elf64_s390 emulation if want64. * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 genscript.sh changes. * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-15 * ldlang.c (load_symbols): Revert last change.Alan Modra2-3/+5
2002-10-14 * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.Stephane Carrez12-0/+665
* ld-m68hc11/adj-jump.d: New test for linker relaxation. * ld-m68hc11/adj-jump.s: Likewise. * ld-m68hc11/adj-brset.s: Likewise. * ld-m68hc11/adj-brset.d: Likewise. * ld-m68hc11/relax-direct.s: Likewise. * ld-m68hc11/relax-direct.d: Likewise. * ld-m68hc11/relax-group.s: Likewise. * ld-m68hc11/relax-group.d: Likewise. * ld-m68hc11/bug-1403.d: Likewise. * ld-m68hc11/bug-1403.s: Likewise.
2002-10-14ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.Stephen Clarke7-17/+89
* ld-sh/sh64/sh64.exp: Likewise. * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*. * ld-sh/sh64/abi32.sd: Adjust expected output to include sh64*-*-linux* formats too. * ld-sh/sh64/relax.exp: Add emul32 variable to hold target emulation, and set it appropriately for sh*-*-linux*. * ld-sh/sh64/relfail.exp: Add variables to hold target emulation, output format, start symbol, and whether target supports 64-bit ABI. Set appropriately for sh*-*-linux*.
2002-10-14 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols whenAlan Modra2-18/+27
just_syms_flag. (lang_reasonable_defaults): Don't compare against false. (size_input_section): Likewise. (lang_size_sections_1): Likewise. (lang_do_assignments): Likewise. (lang_add_output): Likewise.
2002-10-14 * Makefile.am: Run "make dep-am".Alan Modra4-7/+14
* Makefile.in: Regenerate. * ldver.c: #include "bfdver.h".
2002-10-13 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,Stephane Carrez3-22/+28
.finiN section. * scripttempl/elfm68hc12.sc: Likewise.
2002-10-122002-10-12 H.J. Lu (hjl@gnu.org)H.J. Lu7-6/+15
* ld-discard/extern.d: Remove $srcdir/$subdir/. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise. * ld-linkonce/zeroehl32.d: Likewise. * ld-selective/keepdot.d: Likewise. * ld-selective/keepdot0.d: Likewise.
2002-10-11 * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the outputKaz Kojima16-0/+1539
of linker to the file tmpdir/*-dso.so. * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. * ld-sh/tlsbin-0-dso.d: New. * ld-sh/tlsbin-1.d: New. * ld-sh/tlsbin-2.d: New. * ld-sh/tlsbin-3.d: New. * ld-sh/tlsbin-4.d: New. * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. * ld-sh/tlspic-1.d: New. * ld-sh/tlspic-2.d: New. * ld-sh/tlspic-3.d: New. * ld-sh/tlspic-4.d: New.
2002-10-11 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.Alan Modra2-7/+14
2002-10-11 * ldgram.y (memory_spec): Provide empty action.Alan Modra2-3/+9
(section <NAME>): Likewise.
2002-10-10 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts ifJakub Jelinek4-19/+126
they have OUTPUT_FORMAT not matching actual output format. * ldlang.c (lang_get_output_target): New function. (open_output): Use it. * ldlang.h (lang_get_output_target): New prototype.
2002-10-10 * ld-i386/combreloc.s: New test.Jakub Jelinek4-0/+48
* ld-i386/combreloc.d: New test. * ld-i386/i386.exp (i386tests): Add it.
2002-10-10 * ld-i386/i386.exp (reloc): Turn off combreloc.Alan Modra5-5/+12
* ld-i386/reloc.d: Likewise. * ld-powerpc/powerpc.exp: Likewise. * ld-powerpc/reloc.d: Likewise.
2002-10-10 * emultempl/elf32.em (output_rel_find): Prefer .rel script sectionsAlan Modra2-21/+38
when orphan is .rel, .rela when orphan is .rela. (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case first. Remove outsecname var.
2002-10-09* Makefile.am: Add eshelf32_linux.o andStephen Clarke6-0/+88
eshlelf32_linux.o, new emulations for sh64 Linux. * Makefile.in: Regenerate. * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. * emulparams/shelf32_linux.sh: New file. * emulparams/shlelf32_linux.sh: New file.
2002-10-082002-10-08 H.J. Lu <hjl@gnu.org>H.J. Lu4-29/+7
* ldlang.c (lang_file_exist): Removed. (new_afile): Revert the last change. * ldlang.h (lang_file_exist): Removed. * lexsup.c (parse_args): Revert the last change.
2002-10-07Don't re-export auto-import symbols.Nick Clifton2-2/+12
2002-10-07Abort if the filename to be added matches the linker output filename.Nick Clifton4-28/+66
2002-10-042002-10-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc 3.x.
2002-10-032002-10-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-35/+55
* ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be more compatible with non-embedded targets. * ld-mips-elf/branch-misc-2.d: Likewise. * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded PIC tests. (elf): New variable, to control whether generic ELF tests are run. (embedded_elf): New variable, to control whether ELF tests requiring embedded PIC or embedded relocs are run.
2002-10-02* ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,Stephen Clarke4-0/+29
ld-sh/sh64/gotplt.s: New test.
2002-10-02* ld-sh/sh64/cmpct1.sd : Fix linked file name.Stephen Clarke3-2/+6
* ld-sh/sh64/crange3.dd: Likewise.
2002-10-02 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.Alan Modra2-1/+5
2002-10-01bfd/Jakub Jelinek4-0/+43
* elf32-i386.c (elf_i386_relocate_section): Fix movl foo@indntpoff, %eax IE->LE transition. ld/testsuite/ * ld-i386/i386.exp: Add tlsindntpoff test. * ld-i386/tlsindntpoff.s: New test. * ld-i386/tlsindntpoff.dd: New test.