1952c5cd7d
This patch changes linker to issue a warning for relocation in readonly section for -z text. bfd/ PR ld/17935 * elf32-i386.c (elf_i386_readonly_dynrelocs): Also issue a warning for relocation in readonly section for -z text. (elf_i386_size_dynamic_sections): Likewise. * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise. (elf_x86_64_size_dynamic_sections): Likewise. ld/testsuite/ PR ld/17935 * ld-i386/i386.exp: Run pr17935-1 and pr17935-2. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr17935-1.d: New file. * ld-i386/pr17935-1.s: Likewise. * ld-i386/pr17935-2.d: Likewise. * ld-i386/pr17935-2.s: Likewise. * ld-x86-64/pr17935-1.d: Likewise. * ld-x86-64/pr17935-1.s: Likewise. * ld-x86-64/pr17935-2.d: Likewise. * ld-x86-64/pr17935-2.s: Likewise.
220 lines
6 KiB
Text
220 lines
6 KiB
Text
2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/17935
|
||
* ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
|
||
* ld-x86-64/x86-64.exp: Likewise.
|
||
|
||
* ld-i386/pr17935-1.d: New file.
|
||
* ld-i386/pr17935-1.s: Likewise.
|
||
* ld-i386/pr17935-2.d: Likewise.
|
||
* ld-i386/pr17935-2.s: Likewise.
|
||
* ld-x86-64/pr17935-1.d: Likewise.
|
||
* ld-x86-64/pr17935-1.s: Likewise.
|
||
* ld-x86-64/pr17935-2.d: Likewise.
|
||
* ld-x86-64/pr17935-2.s: Likewise.
|
||
|
||
2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/12365
|
||
PR ld/14272
|
||
* ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
|
||
* ld-plugin/plugin-7.d: Updated.
|
||
* ld-plugin/plugin-8.d: Likewise.
|
||
|
||
2015-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-plugin/lto.exp: Pass -flto-partition=none to the PR
|
||
ld/12365 test.
|
||
|
||
2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/12365
|
||
* ld-plugin/pr12365a.c: New file.
|
||
* ld-plugin/pr12365b.c: Likewise.
|
||
* ld-plugin/pr12365c.c: Likewise.
|
||
|
||
* ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
|
||
test.
|
||
Run the PR ld/12365 test.
|
||
|
||
2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/14918
|
||
* ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
|
||
|
||
* ld-plugin/pr14918.c: New file.
|
||
* ld-plugin/pr14918.d: Likewise.
|
||
|
||
2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
|
||
|
||
2015-01-29 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
|
||
* ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
|
||
* ld-powerpc/powerpc.exp: Run them. Move tocvar and tocnovar.
|
||
|
||
2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/17878
|
||
* ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
|
||
* ld-plugin/plugin-10.d: Likewise.
|
||
* ld-plugin/plugin-11.d: Likewise.
|
||
* ld-plugin/plugin-2.d: Likewise.
|
||
* ld-plugin/plugin-3.d: Likewise.
|
||
* ld-plugin/plugin-4.d: Likewise.
|
||
* ld-plugin/plugin-5.d: Likewise.
|
||
* ld-plugin/plugin-6.d: Likewise.
|
||
* ld-plugin/plugin-7.d: Likewise.
|
||
* ld-plugin/plugin-8.d: Likewise.
|
||
* ld-plugin/plugin-9.d: Likewise.
|
||
|
||
2015-01-28 Jan Beulich <jbeulich@suse.com>
|
||
|
||
* ld-elf/pr16322.s (p1): Rename to px1.
|
||
(f1): Rename to fx1.
|
||
|
||
2015-01-28 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
|
||
* ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
|
||
* ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
|
||
|
||
2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||
|
||
* ld-scripts/memory.t: Define new symbol tred.
|
||
* ld-scripts/memory_sym.t: New.
|
||
* ld-scripts/script.exp: Perform MEMORY with symbols test, and
|
||
conditionally check values of linker symbols.
|
||
|
||
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ld-scripts/provide-4-map.d: Update expected output.
|
||
* ld-scripts/provide-5-map.d: Likewise.
|
||
|
||
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ld-scripts/provide-4.d: New file.
|
||
* ld-scripts/provide-4-map.d: New file.
|
||
* ld-scripts/provide-4.t: New file.
|
||
* ld-scripts/provide-5.d: New file.
|
||
* ld-scripts/provide-5.s: New file.
|
||
* ld-scripts/provide-5-map.d: New file.
|
||
* ld-scripts/provide-5.t: New file.
|
||
* ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
|
||
tests.
|
||
|
||
2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* ld-scripts/overlay-size.d: Add 'map' option.
|
||
* ld-scripts/overlay-size.exp: Remove manual check of mapfile.
|
||
* lib/ld-lib.exp (run_dump_test): Add support for new 'map'
|
||
option, checking linker mapfile output.
|
||
|
||
2015-01-20 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-powerpc/ambiguousv1.d,
|
||
* ld-powerpc/ambiguousv1b.d,
|
||
* ld-powerpc/ambiguousv2.d,
|
||
* ld-powerpc/ambiguousv2b.d,
|
||
* ld-powerpc/elfv2exe.d,
|
||
* ld-powerpc/elfv2so.d,
|
||
* ld-powerpc/tlsexe.r,
|
||
* ld-powerpc/tlsexetoc.r,
|
||
* ld-powerpc/tlsso.r,
|
||
* ld-powerpc/tlstocso.r: Update.
|
||
|
||
2015-01-20 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/17615
|
||
* ld-elf/pr17615.d: Match .sbss too.
|
||
|
||
2015-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/17615
|
||
* ld-elf/pr17615.d: New file.
|
||
* ld-elf/pr17615.s: Likewise.
|
||
|
||
2015-01-19 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-gc/pr14265.d,
|
||
* ld-cris/tls-gc-68.d,
|
||
* ld-cris/tls-gc-69.d,
|
||
* ld-cris/tls-gc-70.d,
|
||
* ld-cris/tls-gc-71.d,
|
||
* ld-cris/tls-gc-75.d,
|
||
* ld-cris/tls-gc-76.d,
|
||
* ld-cris/tls-gc-79.d,
|
||
* ld-mmix/bpo-10.d,
|
||
* ld-mmix/bpo-11.d: Update.
|
||
|
||
2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||
|
||
* ld-s390/tlsbin.dd: The nopr register operand is optional and not
|
||
printed if 0 anymore.
|
||
|
||
2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/17847
|
||
* ld-x86-64/pie1.d: New file.
|
||
* ld-x86-64/pie1.s: Likwise.
|
||
* ld-x86-64/x86-64.exp: Run pie1.
|
||
|
||
2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||
|
||
* ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
|
||
* ld-aarch64/relocs-257-symbolic-func.d: New file.
|
||
* ld-aarch64/relocs-257-symbolic-func.s: Likewise.
|
||
|
||
2015-01-13 Jiong Wang <jiong.wang@arm.com>
|
||
|
||
* ld-aarch64/tprel_g2_overflow.s: New testcase.
|
||
* ld-aarch64/tprel_g2_overflow.d: New expectation file.
|
||
* ld-aarch64/aarch64-elf.exp: Run new testcase.
|
||
|
||
2015-01-13 Jiong Wang <jiong.wang@arm.com>
|
||
|
||
PR ld/17415
|
||
* ld-aarch64/pr17415.s: Source file for new test.
|
||
* ld-aarch64/pr17415.d: Expect file for new test.
|
||
* ld-aarch64/aarch64-elf.exp: Run the new test.
|
||
|
||
2015-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/17827
|
||
* ld-x86-64/pr17689.out: Updated.
|
||
* ld-x86-64/pr17689b.S: Likewise.
|
||
|
||
* ld-x86-64/pr17827.rd: New file.
|
||
|
||
* ld-x86-64/x86-64.exp: Run PR ld/17827 test.
|
||
|
||
2015-01-08 Jan Beulich <jbeulich@suse.com>
|
||
|
||
* ld-x86-64/pr14207.d: Adjust expecations to cover the
|
||
enable_initfini_array=no case.
|
||
|
||
2015-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
||
|
||
* lib/ld-lib.exp (run_dump_test): Extend comment to mention
|
||
readelf.
|
||
|
||
2015-01-01 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2014
|
||
|
||
Copyright (C) 2015 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|