aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/note-2.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-12-24 16:58:23 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-12-24 16:58:23 +0000
commit0efc80c807552560f1fd38d78f9cea32abfa0ede (patch)
treec16e9367f08f7a2e9bf66907362cb6b3ef359e70 /ld/testsuite/ld-elf/note-2.d
parent147d51c2327f0f36ddab7e2766087a902f8d83c1 (diff)
downloadgdb-0efc80c807552560f1fd38d78f9cea32abfa0ede.zip
gdb-0efc80c807552560f1fd38d78f9cea32abfa0ede.tar.gz
gdb-0efc80c807552560f1fd38d78f9cea32abfa0ede.tar.bz2
bfd/
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.
Diffstat (limited to 'ld/testsuite/ld-elf/note-2.d')
-rw-r--r--ld/testsuite/ld-elf/note-2.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/note-2.d b/ld/testsuite/ld-elf/note-2.d
new file mode 100644
index 0000000..aff3240
--- /dev/null
+++ b/ld/testsuite/ld-elf/note-2.d
@@ -0,0 +1,15 @@
+#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