aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-09-21 * ld-undefined/undefined.exp: Adjust function test.Alan Modra2-1/+5
2002-09-20 * ld-i386/i386.exp: Only run tests on ELF targets.Alan Modra2-1/+8
2002-09-19bfd/Jakub Jelinek20-0/+2540
* reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Add. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_reloc_type_lookup): Handle it. (struct elf_i386_link_hash_entry): Change tls_type type to unsigned char instead of enum, change GOT_* into defines. (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is accessed both as normal and TLS symbol. Move R_386_TLS_LDM and R_386_PLT32 cases so that R_386_TLS_IE can fall through. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if tls_type is GOT_TLS_IE_BOTH. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch all 4 GOT_TLS_* TLS types. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 if not defined. (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. gas/testsuite/ * gas/i386/tlspic.s: Add tests. * gas/i386/tlspic.d: Regenerated. * gas/i386/tlsnopic.s: Add tests. * gas/i386/tlsnopic.d: Regenerated. include/ * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): Define. ld/testsuite/ * ld-i386/i386.exp: New. * ld-i386/tlsbin.dd: New test. * ld-i386/tlsbinpic.s: New test. * ld-i386/tlsbin.rd: New test. * ld-i386/tlsbin.s: New test. * ld-i386/tlsbin.sd: New test. * ld-i386/tlsbin.td: New test. * ld-i386/tlslib.s: New test. * ld-i386/tlsnopic1.s: New test. * ld-i386/tlsnopic2.s: New test. * ld-i386/tlsnopic.dd: New test. * ld-i386/tlsnopic.rd: New test. * ld-i386/tlsnopic.sd: New test. * ld-i386/tlspic1.s: New test. * ld-i386/tlspic2.s: New test. * ld-i386/tlspic.dd: New test. * ld-i386/tlspic.rd: New test. * ld-i386/tlspic.sd: New test. * ld-i386/tlspic.td: New test.
2002-09-18[ gas/testsuite/ChangeLog ]Chris Demetriou4-0/+69
2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/branch-misc-1.d: New file. * gas/mips/branch-misc-1.s: New file. * gas/mips/branch-misc-2.s: New file. * gas/mips/branch-misc-2.d: New file. * gas/mips/mips.exp: Run new tests. [ ld/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/branch-misc-1.d: New file. * ld-mips-elf/branch-misc-2.d: New file. * ld-mips-elf/mips-elf.exp: Run new tests.
2002-09-05 * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.Alan Modra5-46/+49
* ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise.
2002-08-31 * ld-mmix/bpo-10.d: Tweak for change in symbols handling.Hans-Peter Nilsson10-11/+24
* ld-mmix/bpo-11.d: Ditto. * ld-mmix/b-nosym.d: Adjust for changed output for absence of symbols. * ld-mmix/sec-7m.d: Rename tested section from .debug_info to .di. * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.
2002-08-28 * ld-discard/discard.exp: xfail m6812.Alan Modra3-2/+8
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
2002-08-26Revert last change.Alan Modra2-5/+9
2002-08-26 * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.Alan Modra2-5/+9
2002-08-23 * ld-sh/sh64/rd-sh64.exp: New framework file.Alan Modra6-0/+111
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for correct setting of ISA bit for init and fini entry-points.
2002-08-16 * ld-sh/sh64/sh64.exp: Add dlsection.Stephen Clarke4-0/+41
* ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
2002-08-16 * ld-discard/discard.exp: xfail targets using generic linker.Alan Modra3-1/+8
* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
2002-08-15 * ld-cris/libdso-4.d, ld-cris/undef1.d: New test.Hans-Peter Nilsson3-0/+28
2002-08-14 * ld-sh/sh64/shdl64.xd: Adjust as type of linker-script-symbolsHans-Peter Nilsson1-8/+8
is no longer set to object. (Forgotten commit)
2002-08-142002-08-13 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+15
* ld-elfvers/vers.exp: Add vers23c and vers23d. * ld-elfvers/vers23c.ver: New. * ld-elfvers/vers23d.dsym: New.
2002-08-122002-08-12 H.J. Lu <hjl@gnu.org>H.J. Lu14-0/+75
* ld-elfvers/vers.exp: Add vers23. * ld-elfvers/vers23.c: New. * ld-elfvers/vers23.dsym: New. * ld-elfvers/vers23.ver: New. * ld-elfvers/vers23a.c: New. * ld-elfvers/vers23a.dsym: New. * ld-elfvers/vers23a.map: New. * ld-elfvers/vers23a.sym: New. * ld-elfvers/vers23a.ver: New. * ld-elfvers/vers23b.c: New. * ld-elfvers/vers23b.dsym: New. * ld-elfvers/vers23b.map: New. * ld-elfvers/vers23b.ver: New.
2002-08-12 * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 sectionHans-Peter Nilsson7-30/+34
listing. * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.
2002-08-12 * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbolsHans-Peter Nilsson9-64/+74
is no longer set to object. * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Likewise.
2002-08-10 * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.Alan Modra5-3/+27
* ld-linkonce/linkonce.exp: Likewise. * ld-selective/sel-dump.exp: Likewise. * ld-selective/selective.exp: Don't run on aout or bout.
2002-08-09Add the missing space.H.J. Lu1-1/+1
2002-08-092002-08-08 H.J. Lu <hjl@gnu.org>H.J. Lu13-0/+60
* ld-elfvers/vers.exp: Add vers22. * ld-elfvers/vers22.c: New. * ld-elfvers/vers22.dsym: New. * ld-elfvers/vers22.map: New. * ld-elfvers/vers22.ver: New. * ld-elfvers/vers22a.c: New. * ld-elfvers/vers22a.dsym: New. * ld-elfvers/vers22a.sym: New. * ld-elfvers/vers22a.ver: New. * ld-elfvers/vers22b.c: New. * ld-elfvers/vers22b.dsym: New. * ld-elfvers/vers22b.ver: New.
2002-08-08Check symbols with undefine version.H.J. Lu5-11/+10
2002-07-30 * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,Alan Modra15-16/+45
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, ld-linkonce/linkonce.exp, ld-shared/shared.exp, ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* targets. * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s: Add whitespace before assembler directives.
2002-07-29[ gas/testsuite/ChangeLog ]Chris Demetriou2-1/+9
2002-07-26 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking. * gas/mips/elf_ase_mips16.s: Likewise. * gas/mips/mips.exp: Run the new test. [ ld/testsuite/ChangeLog ] 2002-07-26 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
2002-07-26[bfd/]Richard Sandiford5-0/+17
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE flags into resulting BFD. [ld/testsuite/] * ld-mips-elf/mips16-1.d, * ld-mips-elf/mips16-1[ab].s: New test. * ld-mips-elf/mips-elf.exp: Run it.
2002-07-19 * ld-mmix/sec-1.d: Adjust for changes in padding.Hans-Peter Nilsson3-12/+17
* ld-mmix/sec-3.d: Ditto.
2002-07-162002-07-15 H.J. Lu <hjl@gnu.org>H.J. Lu7-0/+64
* ld-elfvers/vers.exp: Add vers21. * ld-elfvers/vers21.c: New. * ld-elfvers/vers21.dsym: New. * ld-elfvers/vers21.map: New. * ld-elfvers/vers21.sym: New. * ld-elfvers/vers21.ver: New.
2002-07-12 * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,Hans-Peter Nilsson8-0/+87
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, ld-cris/expdref1.s: New tests.
2002-07-09 * ld-scripts/dynamic-sections*: New test.Richard Sandiford6-0/+34
2002-07-09 * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,Hans-Peter Nilsson5-0/+49
ld-cris/noglob1.d: New tests.
2002-07-09Fix typo last changeHans-Peter Nilsson1-1/+1
2002-07-09 * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.Hans-Peter Nilsson2-1/+5
2002-07-02 * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensureAlan Modra3-78/+112
consistent sorting. (run_dump_test): Likewise for objdump/nm/objcopy/readelf. * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
2002-06-29 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,Hans-Peter Nilsson6-0/+51
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
2002-06-192002-06-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* ld-mips-elf/empic2-ref.s: Add a missing .end, apparently turned up by recent assembler changes.
2002-06-17Tests for d10v.Tom Rix44-0/+678
2002-06-122002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>Jeff Law2-0/+8
* ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to script.
2002-06-11AJ found the problem and created the patch.Martin Schwidefsky1-1/+1
2002-06-112002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky2-0/+6
* ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
2002-06-10 * ld-mips-elf/region1a.s,Richard Sandiford6-0/+38
* ld-mips-elf/region1b.s, * ld-mips-elf/region1.t, * ld-mips-elf/region1.d: New test. * ld-mips-elf/mips-elf.exp: Run it.
2002-06-07Fix phdrs2 testNick Clifton3-11/+18
2002-06-06Do not include empty sections in loadable segments.Nick Clifton4-0/+101
2002-06-032005-06-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+15
* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with -fuse-cxa-atexit. (__cxa_atexit): Likewise.
2002-05-30 * ld-bootstrap/bootstrap.exp: Test --relax.Richard Henderson2-2/+13
2002-05-28 * ld-cris/libdso-2.d: Tweak for combreloc now default on.Hans-Peter Nilsson2-15/+19
2002-05-07 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.Richard Sandiford8-14/+203
(is_elf_format): New, extracted from... * ld-scripts/weak.exp: ...here. * ld-scripts/overlay-size.exp: New test. * ld-scripts/overlay-size.[tsd], * ld-scripts/overlay-size-map.d: New files for it.
2002-05-02 * ld-scripts/map-address.exp: Quote conditions.Richard Sandiford2-6/+10
2002-04-30 * ld-scripts/map-address.exp: New test.Richard Sandiford4-0/+61
* ld-scripts/map-address.[td]: New files for it.
2002-04-19 * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.Richard Henderson5-0/+24
* ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Disable for alpha. * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
2002-04-11Add 'n' in order to prevent "-n" from being taken as an abbreviation forNick Clifton1-0/+2
"--no-pipeline-knowledge".