aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr12627.t
blob: 99b64f91eafe568539a140c92f8948387bbe636e (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
25
26
OUTPUT_ARCH(i386)
EXTERN(_start)
ENTRY(_start)

SECTIONS
{
	. = 0x1000;

	.bss16 (NOLOAD) : {
		__bss16_start = .;
		*(.bss16)
		__bss16_end = .;
	}
	__bss16_len = __bss16_end - __bss16_start;
	__bss16_dwords = (__bss16_len + 3) >> 2;

	. = 0x8000;

	.text16 : {
		FILL(0x90909090)
		__text16_start = .;
		*(.text16)
		*(.text16.*)
		__text16_end = .;
	}
}