aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-24 15:28:12 +0000
committerNick Clifton <nickc@redhat.com>2013-04-24 15:28:12 +0000
commit2cfa18a94ae46b19508d7adbcc40bdc3586d00e4 (patch)
treeca77c6587d62d4b0752542af3ecfca51c79fdc3f
parentbf9e4d0c1f88710c2a389bf4b1bdf1d0d83fa7f4 (diff)
downloadgdb-2cfa18a94ae46b19508d7adbcc40bdc3586d00e4.zip
gdb-2cfa18a94ae46b19508d7adbcc40bdc3586d00e4.tar.gz
gdb-2cfa18a94ae46b19508d7adbcc40bdc3586d00e4.tar.bz2
PR ld/15389
* scripttempl/avr.sc: Add .note.gnu.build-id section.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/avr.sc1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d9ebc3d..21fdd19 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-24 Nick Clifton <nickc@redhat.com>
+
+ PR ld/15389
+ * scripttempl/avr.sc: Add .note.gnu.build-id section.
+
2013-04-22 Alan Modra <amodra@gmail.com>
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc
index 8011608..fde65f6 100644
--- a/ld/scripttempl/avr.sc
+++ b/ld/scripttempl/avr.sc
@@ -232,6 +232,7 @@ SECTIONS
.stab.index 0 : { *(.stab.index) }
.stab.indexstr 0 : { *(.stab.indexstr) }
.comment 0 : { *(.comment) }
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
EOF
source $srcdir/scripttempl/DWARF.sc