Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-10-08 17:55:09 +0400
committerDaniel Jacobowitz <drow@false.org>2004-10-08 17:55:09 +0400
commitb39ffd8c4a8981f0444fef3a2921e317634f5309 (patch)
treed7537d8ff2559f728d0755ce80a42a2ad7815887
parentf8676e91ce524c0cd67d8487ca6d076c11338f90 (diff)
bfd/
* config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*. * elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function. (elf_backend_section_from_shdr): Define. binutils/ * readelf.c (get_x86_64_section_type_name): New function. (get_section_type_name): Use it. gas/ * config/tc-i386.c: Include "elf/x86-64.h". (i386_elf_section_type): New function. * config/tc-i386.h (md_elf_section_type): Define. (i386_elf_section_type): New prototype. gas/testsuite/ * gas/i386/i386.exp: Don't run divide test for targets where '/' is a comment. Run x86-64-unwind for 64-bit ELF targets. * gas/i386/x86-64-unwind.d, gas/i386/x86-64-unwind.s: New. include/ * elf/common.h (PT_SUNW_EH_FRAME): Define. * elf/x86-64.h (SHT_X86_64_UNWIND): Define. ld/ * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/common.h1
-rw-r--r--include/elf/x86-64.h4
3 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index ed9edb2b8..a3cbebedd 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-08 Daniel Jacobowitz <dan@debian.org>
+
+ * elf/common.h (PT_SUNW_EH_FRAME): Define.
+ * elf/x86-64.h (SHT_X86_64_UNWIND): Define.
+
2004-10-07 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
diff --git a/include/elf/common.h b/include/elf/common.h
index 5573fca76..db92ff6a8 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -290,6 +290,7 @@
#define PT_HIPROC 0x7FFFFFFF /* Processor-specific */
#define PT_GNU_EH_FRAME (PT_LOOS + 0x474e550) /* Frame unwind information */
+#define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME /* Solaris uses the same value */
#define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */
#define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */
diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h
index 7e9100dba..2252bd0d1 100644
--- a/include/elf/x86-64.h
+++ b/include/elf/x86-64.h
@@ -53,4 +53,8 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type)
RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */
END_RELOC_NUMBERS (R_X86_64_max)
+/* Processor specific section types. */
+
+#define SHT_X86_64_UNWIND 0x70000001 /* unwind information */
+
#endif