* elf/cr16c.h (SHN_CR16C_FCOMMON): Define using SHN_LORESERVE.

(SHN_CR16C_NCOMMON): Likewise.
	* elf/hppa.h (SHN_PARISC_ANSI_COMMON): Likewise.
	(SHN_PARISC_HUGE_COMMON): Likewise.
	* elf/ia64.h (SHN_IA_64_ANSI_COMMON): Likewise.
	(SHN_IA_64_VMS_SYMVEC): Define using SHN_LOOS.
	* elf/m32r.h (SHN_M32R_SCOMMON): Define using SHN_LORESERVE.
	* elf/mips.h (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT): Likewise.
	(SHN_MIPS_DATA, SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
	* elf/score.h (SHN_SCORE_TEXT, SHN_SCORE_DATA): Likewise.
	(SHN_SCORE_SCOMMON): Likewise.
	* elf/sparc.h (SHN_BEFORE, SHN_AFTER): Likewise.
	* elf/v850.h (SHN_V850_SCOMMON, SHN_V850_TCOMMON): Likewise.
	(SHN_V850_ZCOMMON): Likewise.
	* elf/x86-64.h (SHN_X86_64_LCOMMON): Likewise.
This commit is contained in:
Alan Modra 2008-03-11 23:21:08 +00:00
parent d84985f794
commit 93f73715d1
10 changed files with 69 additions and 50 deletions

View File

@ -1,3 +1,21 @@
2008-03-12 Alan Modra <amodra@bigpond.net.au>
* elf/cr16c.h (SHN_CR16C_FCOMMON): Define using SHN_LORESERVE.
(SHN_CR16C_NCOMMON): Likewise.
* elf/hppa.h (SHN_PARISC_ANSI_COMMON): Likewise.
(SHN_PARISC_HUGE_COMMON): Likewise.
* elf/ia64.h (SHN_IA_64_ANSI_COMMON): Likewise.
(SHN_IA_64_VMS_SYMVEC): Define using SHN_LOOS.
* elf/m32r.h (SHN_M32R_SCOMMON): Define using SHN_LORESERVE.
* elf/mips.h (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT): Likewise.
(SHN_MIPS_DATA, SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
* elf/score.h (SHN_SCORE_TEXT, SHN_SCORE_DATA): Likewise.
(SHN_SCORE_SCOMMON): Likewise.
* elf/sparc.h (SHN_BEFORE, SHN_AFTER): Likewise.
* elf/v850.h (SHN_V850_SCOMMON, SHN_V850_TCOMMON): Likewise.
(SHN_V850_ZCOMMON): Likewise.
* elf/x86-64.h (SHN_X86_64_LCOMMON): Likewise.
2008-03-03 Pallavi Tambay <pallavi.tambay@amd.com> 2008-03-03 Pallavi Tambay <pallavi.tambay@amd.com>
* dwarf2.h: (enum dwarf_location_atom): Add new DW_OP: * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP:

View File

@ -1,5 +1,5 @@
/* CR16C ELF support for BFD. /* CR16C ELF support for BFD.
Copyright 2004 Free Software Foundation, Inc. Copyright 2004, 2008 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library. This file is part of BFD, the Binary File Descriptor library.
@ -246,8 +246,8 @@ END_RELOC_NUMBERS (RINDEX_16C_MAX)
values have a special meaning. */ values have a special meaning. */
/* Far common symbol. */ /* Far common symbol. */
#define SHN_CR16C_FCOMMON 0xff00 #define SHN_CR16C_FCOMMON SHN_LORESERVE
#define SHN_CR16C_NCOMMON 0xff01 #define SHN_CR16C_NCOMMON (SHN_LORESERVE + 1)
typedef struct reloc_map typedef struct reloc_map
{ {

View File

@ -1,5 +1,5 @@
/* HPPA ELF support for BFD. /* HPPA ELF support for BFD.
Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2005, 2006 Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2005, 2006, 2008
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library. This file is part of BFD, the Binary File Descriptor library.
@ -54,11 +54,11 @@
/* Special section indices. */ /* Special section indices. */
/* A symbol that has been declared as a tentative definition in an ANSI C /* A symbol that has been declared as a tentative definition in an ANSI C
compilation. */ compilation. */
#define SHN_PARISC_ANSI_COMMON 0xff00 #define SHN_PARISC_ANSI_COMMON SHN_LORESERVE
/* A symbol that has been declared as a common block using the /* A symbol that has been declared as a common block using the
huge memory model. */ huge memory model. */
#define SHN_PARISC_HUGE_COMMON 0xff01 #define SHN_PARISC_HUGE_COMMON (SHN_LORESERVE + 1)
/* Processor specific section types. */ /* Processor specific section types. */

View File

@ -158,11 +158,11 @@
/* This section only used by HP-UX, The HP linker gives weak symbols /* This section only used by HP-UX, The HP linker gives weak symbols
precedence over regular common symbols. We want common to override precedence over regular common symbols. We want common to override
weak. Using this common instead of SHN_COMMON does that. */ weak. Using this common instead of SHN_COMMON does that. */
#define SHN_IA_64_ANSI_COMMON 0xFF00 #define SHN_IA_64_ANSI_COMMON SHN_LORESERVE
/* This section is only used by OpenVMS. Symbol is defined in the symbol /* This section is only used by OpenVMS. Symbol is defined in the symbol
vector (only possible for image files). */ vector (only possible for image files). */
#define SHN_IA_64_VMS_SYMVEC 0xff20 #define SHN_IA_64_VMS_SYMVEC SHN_LOOS
/* IA64-specific relocation types: */ /* IA64-specific relocation types: */

View File

@ -1,5 +1,6 @@
/* M32R ELF support for BFD. /* M32R ELF support for BFD.
Copyright 1996, 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. Copyright 1996, 1997, 1998, 1999, 2000, 2003, 2004, 2008
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library. This file is part of BFD, the Binary File Descriptor library.
@ -80,7 +81,7 @@ END_RELOC_NUMBERS (R_M32R_max)
values have a special meaning. */ values have a special meaning. */
/* Small common symbol. */ /* Small common symbol. */
#define SHN_M32R_SCOMMON 0xff00 #define SHN_M32R_SCOMMON SHN_LORESERVE
/* Processor specific section flags. */ /* Processor specific section flags. */

View File

@ -226,21 +226,21 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
/* Defined and allocated common symbol. Value is virtual address. If /* Defined and allocated common symbol. Value is virtual address. If
relocated, alignment must be preserved. */ relocated, alignment must be preserved. */
#define SHN_MIPS_ACOMMON 0xff00 #define SHN_MIPS_ACOMMON SHN_LORESERVE
/* Defined and allocated text symbol. Value is virtual address. /* Defined and allocated text symbol. Value is virtual address.
Occur in the dynamic symbol table of Alpha OSF/1 and Irix 5 executables. */ Occur in the dynamic symbol table of Alpha OSF/1 and Irix 5 executables. */
#define SHN_MIPS_TEXT 0xff01 #define SHN_MIPS_TEXT (SHN_LORESERVE + 1)
/* Defined and allocated data symbol. Value is virtual address. /* Defined and allocated data symbol. Value is virtual address.
Occur in the dynamic symbol table of Alpha OSF/1 and Irix 5 executables. */ Occur in the dynamic symbol table of Alpha OSF/1 and Irix 5 executables. */
#define SHN_MIPS_DATA 0xff02 #define SHN_MIPS_DATA (SHN_LORESERVE + 2)
/* Small common symbol. */ /* Small common symbol. */
#define SHN_MIPS_SCOMMON 0xff03 #define SHN_MIPS_SCOMMON (SHN_LORESERVE + 3)
/* Small undefined symbol. */ /* Small undefined symbol. */
#define SHN_MIPS_SUNDEFINED 0xff04 #define SHN_MIPS_SUNDEFINED (SHN_LORESERVE + 4)
/* Processor specific section types. */ /* Processor specific section types. */

View File

@ -1,5 +1,5 @@
/* Score ELF support for BFD. /* Score ELF support for BFD.
Copyright 2006 Free Software Foundation, Inc. Copyright 2006, 2008 Free Software Foundation, Inc.
Contributed by Contributed by
Mei Ligang (ligang@sunnorth.com.cn) Mei Ligang (ligang@sunnorth.com.cn)
Pei-Lin Tsai (pltsai@sunplus.com) Pei-Lin Tsai (pltsai@sunplus.com)
@ -44,10 +44,10 @@
/* Defined and allocated common symbol. Value is virtual address. If /* Defined and allocated common symbol. Value is virtual address. If
relocated, alignment must be preserved. */ relocated, alignment must be preserved. */
#define SHN_SCORE_TEXT 0xff01 #define SHN_SCORE_TEXT (SHN_LORESERVE + 1)
#define SHN_SCORE_DATA 0xff02 #define SHN_SCORE_DATA (SHN_LORESERVE + 2)
/* Small common symbol. */ /* Small common symbol. */
#define SHN_SCORE_SCOMMON 0xff03 #define SHN_SCORE_SCOMMON (SHN_LORESERVE + 3)
/* Processor specific section flags. */ /* Processor specific section flags. */

View File

@ -1,5 +1,5 @@
/* SPARC ELF support for BFD. /* SPARC ELF support for BFD.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2008
Free Software Foundation, Inc. Free Software Foundation, Inc.
By Doug Evans, Cygnus Support, <dje@cygnus.com>. By Doug Evans, Cygnus Support, <dje@cygnus.com>.
@ -45,8 +45,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
/* Section indices. */ /* Section indices. */
#define SHN_BEFORE 0xff00 /* used with SHF_ORDERED */ #define SHN_BEFORE SHN_LORESERVE /* used with SHF_ORDERED */
#define SHN_AFTER 0xff01 /* used with SHF_ORDERED */ #define SHN_AFTER (SHN_LORESERVE + 1) /* used with SHF_ORDERED */
/* Section flags. */ /* Section flags. */

View File

@ -1,5 +1,5 @@
/* V850 ELF support for BFD. /* V850 ELF support for BFD.
Copyright 1997, 1998, 2000, 2002, 2003, 2004, 2007 Copyright 1997, 1998, 2000, 2002, 2003, 2004, 2007, 2008
Free Software Foundation, Inc. Free Software Foundation, Inc.
Created by Michael Meissner, Cygnus Support <meissner@cygnus.com> Created by Michael Meissner, Cygnus Support <meissner@cygnus.com>
@ -88,13 +88,13 @@ END_RELOC_NUMBERS (R_V850_max)
values have a special meaning. */ values have a special meaning. */
/* Small data area common symbol. */ /* Small data area common symbol. */
#define SHN_V850_SCOMMON 0xff00 #define SHN_V850_SCOMMON SHN_LORESERVE
/* Tiny data area common symbol. */ /* Tiny data area common symbol. */
#define SHN_V850_TCOMMON 0xff01 #define SHN_V850_TCOMMON (SHN_LORESERVE + 1)
/* Zero data area common symbol. */ /* Zero data area common symbol. */
#define SHN_V850_ZCOMMON 0xff02 #define SHN_V850_ZCOMMON (SHN_LORESERVE + 2)
/* Processor specific section types. */ /* Processor specific section types. */

View File

@ -1,5 +1,5 @@
/* x86_64 ELF support for BFD. /* x86_64 ELF support for BFD.
Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2008
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Jan Hubicka <jh@suse.cz> Contributed by Jan Hubicka <jh@suse.cz>
@ -81,7 +81,7 @@ END_RELOC_NUMBERS (R_X86_64_max)
/* Like SHN_COMMON but the symbol will be allocated in the .lbss /* Like SHN_COMMON but the symbol will be allocated in the .lbss
section. */ section. */
#define SHN_X86_64_LCOMMON 0xff02 #define SHN_X86_64_LCOMMON (SHN_LORESERVE + 2)
#define SHF_X86_64_LARGE 0x10000000 #define SHF_X86_64_LARGE 0x10000000
#endif #endif