Change the output of readelf's note display so that the "Data size" column header...
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / note-2-64.d
index 85358213a2c7721fcce357e9e684fe8d5b6a51c6..1c73083465169397e2013c65cdd3ef1a9a21fe92 100644 (file)
@@ -3,15 +3,19 @@
 #objcopy: --merge-notes
 #name: merge notes section (64-bits)
 #source: note-2-64.s
+#notarget: sparc64-*-*
+# Internally the Sparc64 backend uses two relocs for every one reloc visible externally.
+# Unfortunately the BFD library does not provide a target specific way to delete individual
+# relocs, so the note merging feature fails.
 
 #...
-  Owner                 Data size      Description
-[      ]+\$<version>1[         ]+0x00000008[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x100 \(file: note1.s\)
-[      ]+\$<tool>gcc 7.0.1[    ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x100
-[      ]+\+<stack prot>true[   ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x100
-[      ]+\*<PIC>static[        ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x100
-[      ]+\*<ABI>0x0[   ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x100
-[      ]+\$<version>1[         ]+0x00000008[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x10. \(file: note2.s\)
-[      ]+!<stack prot>false[   ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_OPEN[  ]+Applies from offset 0x10.
-[      ]+\*<PIC>pic[   ]+0x00000000[   ]+NT_GNU_BUILD_ATTRIBUTE_FUNC[  ]+Applies to func at 0x10. \(func: func1\)
+[      ]+Owner[        ]+Data size[    ]+Description
+[      ]+\$<version>1[         ]+0x00000008[   ]+OPEN[         ]+Applies to region from 0x100 \(note1.s\)
+[      ]+\$<tool>gcc 7.0.1[    ]+0x00000000[   ]+OPEN[         ]+Applies to region from 0x100
+[      ]+\+<stack prot>true[   ]+0x00000000[   ]+OPEN[         ]+Applies to region from 0x100
+[      ]+\*<PIC>static[        ]+0x00000000[   ]+OPEN[         ]+Applies to region from 0x100
+[      ]+\*<ABI>0x0[   ]+0x00000000[   ]+OPEN[         ]+Applies to region from 0x100
+[      ]+\$<version>1[         ]+0x00000008[   ]+OPEN[         ]+Applies to region from 0x104 \(note2.s\)
+[      ]+!<stack prot>false[   ]+0x00000000[   ]+OPEN[         ]+Applies to region from 0x104
+[      ]+\*<PIC>pic[   ]+0x00000008[   ]+func[         ]+Applies to region from 0x104 \(func1\)
 #...
This page took 0.027878 seconds and 4 git commands to generate.