mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +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.
16 lines
217 B
Makefile
16 lines
217 B
Makefile
#ld: -Tnote-2.t
|
|
#objcopy_linked_file: -R .foo
|
|
#readelf: -l --wide
|
|
|
|
#...
|
|
Program Headers:
|
|
Type.*
|
|
LOAD +0x[0-9a-f]+ .*
|
|
NOTE +0x[0-9a-f]+ .*
|
|
|
|
#...
|
|
Segment Sections...
|
|
00[ \t]+.text *
|
|
01[ \t]+.note *
|
|
#pass
|