summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-nios2/relax_call26_multi.ld
blob: 750f7473480eff3d268e89c4f0da0d1a1c54ba7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Simple script for testing call26 relaxation via linker stubs.
   In this case, input sections text0 and text1 cannot share stubs
   because they are in different output sections.  */

OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2")
OUTPUT_ARCH(nios2)
ENTRY(_start)
SECTIONS
{
	_start = .;
	text0 0 : { *(text0) }
	text1 : { *(text1) }
	text2 0x40000000 : { *(text2) }
}