aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/relax_call26_boundary.ld
blob: 313ef8cbfacbb8dcad17fe6fcd8843d28dbe37c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Simple script for testing call26 relaxation via linker stubs.
   This script is used for a bunch of tests that vary the placement of
   section text0 near a 256 memory segment boundary, by using
   --section-start command-line options.  */

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