mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
23 lines
483 B
Perl
23 lines
483 B
Perl
|
PHDRS
|
||
|
{
|
||
|
text PT_LOAD FILEHDR PHDRS ;
|
||
|
note PT_NOTE;
|
||
|
}
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = . + SIZEOF_HEADERS ;
|
||
|
.text : { *(.text) *(.rodata) } :text
|
||
|
.note : { *(.note) } :note :text
|
||
|
|
||
|
/* BUG: This linker script is broken here. It has not reset the
|
||
|
output segment for the following sections, so they are all
|
||
|
treated as notes... */
|
||
|
|
||
|
.hash : { *(.hash) }
|
||
|
|
||
|
.dynstr : { *(.dynstr) }
|
||
|
.dynsym : { *(.dynsym) }
|
||
|
.got.plt : { *(.got.plt) *(.igot.plt) }
|
||
|
/DISCARD/ : { *(*) }
|
||
|
}
|