* elf/cr16c.h (SHN_CR16C_FCOMMON): Define using SHN_LORESERVE.
authorAlan Modra <amodra@gmail.com>
Tue, 11 Mar 2008 23:21:08 +0000 (23:21 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Mar 2008 23:21:08 +0000 (23:21 +0000)
(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.

include/elf/ChangeLog
include/elf/cr16c.h
include/elf/hppa.h
include/elf/ia64.h
include/elf/m32r.h
include/elf/mips.h
include/elf/score.h
include/elf/sparc.h
include/elf/v850.h
include/elf/x86-64.h

index 92bd5745b2da629bbf7ca9fcf72bea82673d40ae..84888f6f8fe293bf2f51007de05b0f0913a36daa 100644 (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:
 2008-03-03  Pallavi Tambay  <pallavi.tambay@amd.com>
 
        * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP:
 2008-01-30  Tristan Gingold  <gingold@adacore.com>
 
        Add OpenVMS extensions.
 2008-01-30  Tristan Gingold  <gingold@adacore.com>
 
        Add OpenVMS extensions.
-       * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID) 
-       (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR) 
+       * ia64.h (SHF_IA_64_VMS_GLOBAL, SHF_IA_64_VMS_OVERLAID)
+       (SHF_IA_64_VMS_SHARED, SHF_IA_64_VMS_VECTOR)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
        (SHF_IA_64_VMS_ALLOC_64BIT, SHF_IA_64_VMS_PROTECTED)
-       (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES) 
-       (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR) 
-       (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR) 
-       (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE) 
-       (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS) 
-       (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT) 
-       (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT) 
-       (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT) 
-       (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT) 
-       (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE) 
-       (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG) 
-       (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME) 
-       (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET) 
-       (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET) 
-       (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET) 
-       (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF) 
-       (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF) 
-       (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG) 
+       (SHT_IA_64_VMS_TRACE, SHT_IA_64_VMS_TIE_SIGNATURES)
+       (SHT_IA_64_VMS_DEBUG, SHT_IA_64_VMS_DEBUG_STR)
+       (SHT_IA_64_VMS_LINKAGES, SHT_IA_64_VMS_SYMBOL_VECTOR)
+       (SHT_IA_64_VMS_FIXUP, DT_IA_64_VMS_SUBTYPE)
+       (DT_IA_64_VMS_IMGIOCNT, DT_IA_64_VMS_LNKFLAGS)
+       (DT_IA_64_VMS_VIR_MEM_BLK_SIZ, DT_IA_64_VMS_IDENT)
+       (DT_IA_64_VMS_NEEDED_IDENT, DT_IA_64_VMS_IMG_RELA_CNT)
+       (DT_IA_64_VMS_SEG_RELA_CNT, DT_IA_64_VMS_FIXUP_RELA_CNT)
+       (DT_IA_64_VMS_FIXUP_NEEDED, DT_IA_64_VMS_SYMVEC_CNT)
+       (DT_IA_64_VMS_XLATED, DT_IA_64_VMS_STACKSIZE)
+       (DT_IA_64_VMS_UNWINDSZ, DT_IA_64_VMS_UNWIND_CODSEG)
+       (DT_IA_64_VMS_UNWIND_INFOSEG, DT_IA_64_VMS_LINKTIME)
+       (DT_IA_64_VMS_SEG_NO, DT_IA_64_VMS_SYMVEC_OFFSET)
+       (DT_IA_64_VMS_SYMVEC_SEG, DT_IA_64_VMS_UNWIND_OFFSET)
+       (DT_IA_64_VMS_UNWIND_SEG, DT_IA_64_VMS_STRTAB_OFFSET)
+       (DT_IA_64_VMS_SYSVER_OFFSET, DT_IA_64_VMS_IMG_RELA_OFF)
+       (DT_IA_64_VMS_SEG_RELA_OFF, DT_IA_64_VMS_FIXUP_RELA_OFF)
+       (DT_IA_64_VMS_PLTGOT_OFFSET, DT_IA_64_VMS_PLTGOT_SEG)
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define
 
 2008-01-16  Mark Kettenis  <kettenis@gnu.org>
        (DT_IA_64_VMS_FPMODE, SHN_IA_64_VMS_SYMVEC): Define
 
 2008-01-16  Mark Kettenis  <kettenis@gnu.org>
@@ -43,9 +61,9 @@
        * dwarf2.h (DW_AT_hi_user): Correct value.
 
 2007-12-07  Bob Wilson  <bob.wilson@acm.org>
        * dwarf2.h (DW_AT_hi_user): Correct value.
 
 2007-12-07  Bob Wilson  <bob.wilson@acm.org>
-       
+
        * xtensa.h (R_XTENSA_32_PCREL): New.
        * xtensa.h (R_XTENSA_32_PCREL): New.
-       
+
 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
 
        * mips.h (E_MIPS_MACH_LS2E): New.
 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
 
        * mips.h (E_MIPS_MACH_LS2E): New.
index de66a496a7fdbf790be48ab29ca842ee54474891..863fea6604d6141098e4ca5f74f7a8ab26aaac1b 100644 (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.  */
 
 /* Far common symbol.  */
    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
 {
 
 typedef struct reloc_map
 {
index c9b3200ac9e0674837d4cdea403ceb83cb36d89f..a4ec28fcdfe2da927e7d570ce339a37890f3a719 100644 (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.
 
    This file is part of BFD, the Binary File Descriptor library.
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 /* Special section indices.  */
 /* A symbol that has been declared as a tentative definition in an ANSI C
    compilation.  */
 /* 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.  */
 
 /* 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.  */
 
 
 /* Processor specific section types.  */
 
index 7ee271f5727e94c474a224be15bbd2828d823043..d86d6304bb97d3e64a078eaf36b09e8cd3a2baeb 100644 (file)
 /* 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.  */
 /* 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).  */
 
 /* 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: */
 
 
 /* IA64-specific relocation types: */
 
index d648df90410b9718c8a04f13ee629b7c94cef55e..209dab648689e4ae41f865ec3e5daaab012550b2 100644 (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.  */
 
 /* Small common symbol.  */
    values have a special meaning.  */
 
 /* Small common symbol.  */
-#define SHN_M32R_SCOMMON       0xff00
+#define SHN_M32R_SCOMMON       SHN_LORESERVE
 
 /* Processor specific section flags.  */
 
 
 /* Processor specific section flags.  */
 
index 7b72cacc9df629d6de72a82ff8fb145aa2ab26f5..55ecfb3c0408416e33382c56dfadc3bb065560bd 100644 (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.  */
 
 /* 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.  */
 
 /* 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.  */
 
 /* 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.  */
 
 /* 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)
 \f
 /* Processor specific section types.  */
 
 \f
 /* Processor specific section types.  */
 
index ec3b32f16c46cb4548cb8559437328e8d579c01c..72ada0548688d2eb798a055345f6562169d9bb1f 100644 (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 
    Mei Ligang (ligang@sunnorth.com.cn)
    Pei-Lin Tsai (pltsai@sunplus.com)
    Contributed by 
    Mei Ligang (ligang@sunnorth.com.cn)
    Pei-Lin Tsai (pltsai@sunplus.com)
 
 /* Defined and allocated common symbol.  Value is virtual address.  If
    relocated, alignment must be preserved.  */
 
 /* 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.  */
 /* Small common symbol.  */
-#define SHN_SCORE_SCOMMON      0xff03
+#define SHN_SCORE_SCOMMON      (SHN_LORESERVE + 3)
 
 /* Processor specific section flags.  */
 
 
 /* Processor specific section flags.  */
 
index dc20820ec397359664440a9635d9e648392fefb8..9572b0cdd734e2e64862610dac32c25b55f9c8a2 100644 (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.
    By Doug Evans, Cygnus Support, <dje@cygnus.com>.
 
    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.  */
 
 
 /* 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.  */
 
 
 /* Section flags.  */
 
index a88969d9159c2ba0c17f1005053818b89387a6b6..9f4bc01770573aa94b658a770b79ac984b28188e 100644 (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.
    Created by Michael Meissner, Cygnus Support <meissner@cygnus.com>
 
    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.  */
    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.  */
 
 /* 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)
 
 \f
 /* Processor specific section types.  */
 
 \f
 /* Processor specific section types.  */
index b09a558a35bb469db7f94d380ae5d873c4e55fbc..97b53948f5171bc32f8429be502a1f38f4222681 100644 (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.
    Contributed by Jan Hubicka <jh@suse.cz>
 
    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.  */
 
 /* 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
 
 #define SHF_X86_64_LARGE       0x10000000
 #endif