* 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 48a4134bfd
commit 1bce5d2cc6
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>
* dwarf2.h: (enum dwarf_location_atom): Add new DW_OP:

View File

@ -1,5 +1,5 @@
/* 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.
@ -246,8 +246,8 @@ END_RELOC_NUMBERS (RINDEX_16C_MAX)
values have a special meaning. */
/* Far common symbol. */
#define SHN_CR16C_FCOMMON 0xff00
#define SHN_CR16C_NCOMMON 0xff01
#define SHN_CR16C_FCOMMON SHN_LORESERVE
#define SHN_CR16C_NCOMMON (SHN_LORESERVE + 1)
typedef struct reloc_map
{

View File

@ -1,5 +1,5 @@
/* 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.
This file is part of BFD, the Binary File Descriptor library.
@ -54,11 +54,11 @@
/* Special section indices. */
/* A symbol that has been declared as a tentative definition in an ANSI C
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
huge memory model. */
#define SHN_PARISC_HUGE_COMMON 0xff01
#define SHN_PARISC_HUGE_COMMON (SHN_LORESERVE + 1)
/* Processor specific section types. */

View File

@ -158,11 +158,11 @@
/* This section only used by HP-UX, The HP linker gives weak symbols
precedence over regular common symbols. We want common to override
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
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: */

View File

@ -1,5 +1,6 @@
/* 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.
@ -80,7 +81,7 @@ END_RELOC_NUMBERS (R_M32R_max)
values have a special meaning. */
/* Small common symbol. */
#define SHN_M32R_SCOMMON 0xff00
#define SHN_M32R_SCOMMON SHN_LORESERVE
/* 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
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.
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.
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. */
#define SHN_MIPS_SCOMMON 0xff03
#define SHN_MIPS_SCOMMON (SHN_LORESERVE + 3)
/* Small undefined symbol. */
#define SHN_MIPS_SUNDEFINED 0xff04
#define SHN_MIPS_SUNDEFINED (SHN_LORESERVE + 4)
/* Processor specific section types. */

View File

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

View File

@ -1,5 +1,5 @@
/* 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.
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. */
#define SHN_BEFORE 0xff00 /* used with SHF_ORDERED */
#define SHN_AFTER 0xff01 /* used with SHF_ORDERED */
#define SHN_BEFORE SHN_LORESERVE /* used with SHF_ORDERED */
#define SHN_AFTER (SHN_LORESERVE + 1) /* used with SHF_ORDERED */
/* Section flags. */

View File

@ -1,5 +1,5 @@
/* 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.
Created by Michael Meissner, Cygnus Support <meissner@cygnus.com>
@ -88,13 +88,13 @@ END_RELOC_NUMBERS (R_V850_max)
values have a special meaning. */
/* Small data area common symbol. */
#define SHN_V850_SCOMMON 0xff00
#define SHN_V850_SCOMMON SHN_LORESERVE
/* Tiny data area common symbol. */
#define SHN_V850_TCOMMON 0xff01
#define SHN_V850_TCOMMON (SHN_LORESERVE + 1)
/* Zero data area common symbol. */
#define SHN_V850_ZCOMMON 0xff02
#define SHN_V850_ZCOMMON (SHN_LORESERVE + 2)
/* Processor specific section types. */

View File

@ -1,5 +1,5 @@
/* 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.
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
section. */
#define SHN_X86_64_LCOMMON 0xff02
#define SHN_X86_64_LCOMMON (SHN_LORESERVE + 2)
#define SHF_X86_64_LARGE 0x10000000
#endif