mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
0efc80c807
2007-12-24 H.J. Lu <hongjiu.lu@intel.com> PR binutils/5488 * elf.c (IS_NOTE): New. (IS_COREFILE_NOTE): Use IS_NOTE. (IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of IS_COREFILE_NOTE. ld/testsuite/ 2007-12-24 H.J. Lu <hongjiu.lu@intel.com> PR binutils/5488 * ld-elf/note-2.d: New. * ld-elf/note-2.s: Likewise. * ld-elf/note-2.t: Likewise.
14 lines
177 B
Perl
14 lines
177 B
Perl
ENTRY(_entry)
|
|
PHDRS
|
|
{
|
|
data PT_LOAD;
|
|
note PT_NOTE;
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text : { *(.text) } :data
|
|
.foo : { *(.foo) } :data
|
|
.note : { *(.note) } :note
|
|
/DISCARD/ : { *(*) }
|
|
}
|