| 1 |
#PROG: objcopy |
| 2 |
#readelf: --notes --wide |
| 3 |
#objcopy: --merge-notes |
| 4 |
#name: merge notes section (64-bits) |
| 5 |
#source: note-2-64.s |
| 6 |
#notarget: sparc64-*-* |
| 7 |
# Internally the Sparc64 backend uses two relocs for every one reloc visible externally. |
| 8 |
# Unfortunately the BFD library does not provide a target specific way to delete individual |
| 9 |
# relocs, so the note merging feature fails. |
| 10 |
|
| 11 |
#... |
| 12 |
[ ]+Owner[ ]+Data size[ ]+Description |
| 13 |
[ ]+GA\$<version>3p1[ ]+0x00000010[ ]+OPEN[ ]+Applies to region from 0x100 to 0x10b \(note1.s\) |
| 14 |
[ ]+GA\$<tool>gcc 7.0.1[ ]+0x00000000[ ]+OPEN[ ]+Applies to region from 0x100 to 0x10b |
| 15 |
[ ]+GA\*<ABI>0x0[ ]+0x00000010[ ]+OPEN[ ]+Applies to region from 0x100 to 0x108 \(note1.s\) |
| 16 |
[ ]+GA\+<stack prot>true[ ]+0x00000010[ ]+OPEN[ ]+Applies to region from 0x100 to 0x104 \(note1.s\) |
| 17 |
[ ]+GA\*<PIC>static[ ]+0x00000000[ ]+OPEN[ ]+Applies to region from 0x100 to 0x104 |
| 18 |
[ ]+GA!<stack prot>false[ ]+0x00000010[ ]+OPEN[ ]+Applies to region from 0x104 to 0x108 \(note2.s\) |
| 19 |
[ ]+GA\*<PIC>pic[ ]+0x00000010[ ]+func[ ]+Applies to region from 0x104 to 0x106 \(func1\) |
| 20 |
#... |