summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-11-08 13:51:07 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-11-08 13:51:07 +0000
commit75a1688a39f13c03cae53c7c5cc9deef44a34353 (patch)
treeeb013c4eaffb16d62b265987e6bb0e6fdab1742a /include
parent4bc605814c34534c62314e6a4946e49831313a0a (diff)
downloadcygnal-75a1688a39f13c03cae53c7c5cc9deef44a34353.tar.gz
cygnal-75a1688a39f13c03cae53c7c5cc9deef44a34353.tar.bz2
cygnal-75a1688a39f13c03cae53c7c5cc9deef44a34353.zip
include/elf/
* vxworks.h: New. bfd/ * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. (elf_vxworks_finish_dynamic_entry): Declare. * elf-vxworks.c: Include elf/vxworks.h. (elf_vxworks_add_dynamic_entries): New. (elf_vxworks_finish_dynamic_entry): New. * Makefile.am (elf-vxworks.lo): Add dependency. * Makefile.in (elf-vxworks.lo): Add dependency. * elf32-i386.c (elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_sections): Call elf_vxworks_add_dynamic_entries and elf_vxworks_finish_dynamic_entry. * elf32-ppc.c (ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, sparc_finish_dyn): Likewise. * elf32-sh.c (sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_finish_dynamic_sections): Likewise. * elf32-arm.c (elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections): Likewise. ld/ * ld-vxworks/tls-2.d: New. * ld-vxworks/tls-2.s: New.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/vxworks.h33
2 files changed, 37 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 57bcd3b63..fdce868c1 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ * vxworks.h: New.
+
2007-10-30 Nick Clifton <nickc@redhat.com>
* mn10300.h (R_MN10300_ALIGN): Define.
diff --git a/include/elf/vxworks.h b/include/elf/vxworks.h
new file mode 100644
index 000000000..394de30dd
--- /dev/null
+++ b/include/elf/vxworks.h
@@ -0,0 +1,33 @@
+/* VxWorks ELF support for BFD.
+ Copyright 2007
+ Free Software Foundation, Inc.
+
+ Contributed by Nathan Sidwell <nathan@codesourcery.com>
+
+This file is part of BFD, the Binary File Descriptor library.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+MA 02110-1301, USA. */
+
+#ifndef _ELF_VXWORKS_H
+#define _ELF_VXWORKS_H
+
+#define DT_VX_WRS_TLS_DATA_START 0x60000010
+#define DT_VX_WRS_TLS_DATA_SIZE 0x60000011
+#define DT_VX_WRS_TLS_DATA_ALIGN 0x60000015
+#define DT_VX_WRS_TLS_VARS_START 0x60000012
+#define DT_VX_WRS_TLS_VARS_SIZE 0x60000013
+
+#endif /* _ELF_VXWORKS_H */