Retro68/binutils/ld/testsuite/ld-nios2/relax_call26_shared.ld
2015-08-28 17:32:19 +02:00

14 lines
413 B
Plaintext

/* Simple script for testing call26 relaxation via linker stubs.
In this case, input sections text0 and text1 are placed in the
same output section in the same 256MB segment, so they can share stubs. */
OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2")
OUTPUT_ARCH(nios2)
ENTRY(_start)
SECTIONS
{
_start = .;
text0 0 : { *(text0) *(text1) }
text2 0x40000000 : { *(text2) }
}