aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-loongarch-elf/relr-relocs.ld
blob: ed83275b629b44bec5eb165d09bf9542b685b83e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Script for DT_RELR tests */
OUTPUT_ARCH(loongarch64)
ENTRY(_start)
SECTIONS
{
	PROVIDE (__executable_start = 0x8000); . = 0x10000;
	.text :
	{
		*(.before)
		*(.text)
		*(.after)
	} =0
	. = 0x20000;
	.got :
	{
		*(.got)
		*(.got.plt)
	}
	. = 0x12340000;
	.data :
	{
		*(.data)
	}
}