aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-03-16 16:44:55 +0000
committerNick Clifton <nickc@redhat.com>2017-03-16 16:44:55 +0000
commita8be5506b626a57f84771c5ddfaefabf2d61c017 (patch)
tree74b670776a7f69f45d5fcef88aa3d6b377c8825e /include
parentba14f3792fe007bedd88b62e554c79258adc53d9 (diff)
downloadgdb-a8be5506b626a57f84771c5ddfaefabf2d61c017.zip
gdb-a8be5506b626a57f84771c5ddfaefabf2d61c017.tar.gz
gdb-a8be5506b626a57f84771c5ddfaefabf2d61c017.tar.bz2
Add support for a GNU BUILD note type to record the enum size.
include * elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD note type. binutils * readelf.c (print_gnu_build_attribute_name): Add support for GNU_BUILD_ATTRIBUTE_SHORT_ENUM.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/common.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index a329eb0..eacfeb9a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-16 Nick Clifton <nickc@redhat.com>
+
+ * elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD
+ note type.
+
2017-03-14 Jakub Jelinek <jakub@redhat.com>
PR debug/77589
diff --git a/include/elf/common.h b/include/elf/common.h
index 8888a55..65877fe 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -682,6 +682,7 @@
#define GNU_BUILD_ATTRIBUTE_TOOL 5
#define GNU_BUILD_ATTRIBUTE_ABI 6
#define GNU_BUILD_ATTRIBUTE_PIC 7
+#define GNU_BUILD_ATTRIBUTE_SHORT_ENUM 8
#define NOTE_GNU_PROPERTY_SECTION_NAME ".note.gnu.property"
#define GNU_BUILD_ATTRS_SECTION_NAME ".gnu.build.attributes"