binutils-gdb/ld/testsuite/ld-xtensa
Max Filippov 2487ef07c2 bfd: xtensa: fix shrink_dynamic_reloc_sections for export-dynamic
shrink_dynamic_reloc_sections must remove PLT entry that was created for
an undefined weak symbol in the presence of --export-dynamic option when
relaxation coalesces literals pointing to that symbol. This fixes the
following assertion:

  ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at
  elf32-xtensa.c:3292 in elf_xtensa_finish_dynamic_sections

2019-03-29  Max Filippov  <jcmvbkbc@gmail.com>
bfd/
	* elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
	info->export_dynamic to the conditional.

ld/
	* testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
	test definition.
	* testsuite/ld-xtensa/xtensa.exp
	(relax-undef-weak-pie-export-dynamic): Add new test.
2019-03-29 10:02:10 -07:00
..
call_overflow1.s bfd: xtensa: fix callx relaxation 2019-02-20 02:51:01 -08:00
call_overflow2.s bfd: xtensa: fix callx relaxation 2019-02-20 02:51:01 -08:00
call_overflow3.s bfd: xtensa: fix callx relaxation 2019-02-20 02:51:01 -08:00
call_overflow.d bfd: xtensa: fix callx relaxation 2019-02-20 02:51:01 -08:00
coalesce1.s
coalesce2.s
coalesce.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
coalesce.t
diff_overflow1.s Use signed data type for R_XTENSA_DIFF* relocation offsets. 2014-05-08 01:55:41 +04:00
diff_overflow2.s Use signed data type for R_XTENSA_DIFF* relocation offsets. 2014-05-08 01:55:41 +04:00
diff_overflow.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
lcall1.s
lcall2.s
lcall.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
lcall.t
relax-static-defs.s xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static-local-pie.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static-local-shared.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static-local.s xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static-pie.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static-shared.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-static.s xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak-local-pie.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak-local-shared.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak-local.s xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak-pie-export-dynamic.d bfd: xtensa: fix shrink_dynamic_reloc_sections for export-dynamic 2019-03-29 10:02:10 -07:00
relax-undef-weak-pie.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak-shared.d xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
relax-undef-weak.s xtensa: ld: add tests for static linkage relaxation 2018-07-23 12:05:43 -07:00
tlsbin.dd
tlsbin.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlsbin.s
tlsbin.sd
tlsbin.td
tlslib.s
tlspic1.s
tlspic2.s
tlspic.dd
tlspic.rd Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets. 2016-08-19 09:16:30 +01:00
tlspic.sd
tlspic.td
xtensa-linux.exp Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensa.exp bfd: xtensa: fix shrink_dynamic_reloc_sections for export-dynamic 2019-03-29 10:02:10 -07:00