ld: Allow section groups to be resolved as part of a relocatable link
[binutils-gdb.git] / ld / testsuite / ld-elf / group12.ld
1 FORCE_GROUP_ALLOCATION
2
3 PHDRS
4 {
5 header PT_PHDR PHDRS ;
6 image PT_LOAD PHDRS;
7 }
8
9 SECTIONS
10 {
11 . = 0x1000;
12 .text : { *(.text) *(.rodata.brlt) } :image :header
13 /DISCARD/ : { *(.dropme) *(.reginfo) *(.MIPS.abiflags) }
14 }