binutils-gdb/ld/testsuite/ld-xtensa
Max Filippov eed62915fd bfd: xtensa: fix callx relaxation
Big section alignment requirements between source and destination of a
long call can result in making call range bigger than what's reachable
by the call opcode. Add biggest section alignment of sections between
the call site and call destination to the call distance when making
long call relaxation decision.

2019-02-20  Eric Tsai  <erictsai@cadence.com>
bfd/
	* elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
	sections between the call site and call destination and adjust
	call distance by the largest alignment.

ld/
	* testsuite/ld-xtensa/call_overflow.d: New test definition.
	* testsuite/ld-xtensa/call_overflow1.s: New test source.
	* testsuite/ld-xtensa/call_overflow2.s: New test source.
	* testsuite/ld-xtensa/call_overflow3.s: New test source.
	* testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
2019-02-20 02:51:01 -08:00
..
call_overflow.d bfd: xtensa: fix callx relaxation 2019-02-20 02:51:01 -08: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
coalesce.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
coalesce.t
coalesce1.s
coalesce2.s
diff_overflow.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
diff_overflow1.s
diff_overflow2.s
lcall.d xtensa: ld: convert tests to run_dump_test 2018-07-23 12:06:40 -07:00
lcall.t
lcall1.s
lcall2.s
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.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
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
tlspic1.s
tlspic2.s
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 callx relaxation 2019-02-20 02:51:01 -08:00