Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-nios2/relax_call26_boundary.ld
2023-03-06 14:48:14 +01:00

15 lines
444 B
Plaintext

/* 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) }
}