summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils-2.17
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils-2.17')
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/elf.c3
-rw-r--r--gnu/usr.bin/binutils-2.17/include/elf/common.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/elf.c b/gnu/usr.bin/binutils-2.17/bfd/elf.c
index f9e750b4f7d..91e47a6fd0e 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/elf.c
+++ b/gnu/usr.bin/binutils-2.17/bfd/elf.c
@@ -2177,6 +2177,9 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex)
}
break;
+ case SHT_LLVM_ADDRSIG:
+ return TRUE;
+
default:
/* Check for any processor-specific section types. */
return bed->elf_backend_section_from_shdr (abfd, hdr, name,
diff --git a/gnu/usr.bin/binutils-2.17/include/elf/common.h b/gnu/usr.bin/binutils-2.17/include/elf/common.h
index 3a7fcd09a17..545c1748fb5 100644
--- a/gnu/usr.bin/binutils-2.17/include/elf/common.h
+++ b/gnu/usr.bin/binutils-2.17/include/elf/common.h
@@ -360,6 +360,8 @@
#define SHT_GNU_verneed SHT_SUNW_verneed
#define SHT_GNU_versym SHT_SUNW_versym
+#define SHT_LLVM_ADDRSIG 0x6fff4c03 /* List of address-significant symbols */
+
#define SHT_LOPROC 0x70000000 /* Processor-specific semantics, lo */
#define SHT_HIPROC 0x7FFFFFFF /* Processor-specific semantics, hi */
#define SHT_LOUSER 0x80000000 /* Application-specific semantics */