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:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog11
-rw-r--r--include/bfdlink.h4
-rw-r--r--include/elf/ChangeLog10
-rw-r--r--include/elf/cr16.h3
-rw-r--r--include/elf/cris.h9
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/mips.h5
-rw-r--r--include/xtensa-isa-internal.h6
-rw-r--r--include/xtensa-isa.h12
9 files changed, 53 insertions, 12 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 082147b4d..96c84746e 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,14 @@
+2008-11-26 Alan Modra <amodra@bigpond.net.au>
+
+ PR 7047
+ * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
+ Add "literal".
+
+2008-11-21 Sterling Augustine <sterling@tensilica.com>
+
+ * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
+ * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.
+
2008-11-19 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
diff --git a/include/bfdlink.h b/include/bfdlink.h
index d27b5388d..51c5b15cd 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -707,8 +707,8 @@ struct bfd_elf_version_expr
struct bfd_elf_version_expr *next;
/* Glob pattern. */
const char *pattern;
- /* NULL for a glob pattern, otherwise a straight symbol. */
- const char *symbol;
+ /* Set if pattern is not a glob. */
+ unsigned int literal : 1;
/* Defined by ".symver". */
unsigned int symver : 1;
/* Defined by version script. */
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index c9aa86ddc..23b6ee147 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
+ R_CR16_GLOB_DAT): New relocations.
+
+2008-11-25 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris.h (R_CRIS_32_TPREL): Correct comment.
+ (R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.
+
2008-11-18 Catherine Moore <clm@codesourcery.com>
* arm.h (Tag_ABI_FP_16bit_format): Define.
diff --git a/include/elf/cr16.h b/include/elf/cr16.h
index adb243dc9..c48c372a0 100644
--- a/include/elf/cr16.h
+++ b/include/elf/cr16.h
@@ -54,6 +54,9 @@ START_RELOC_NUMBERS(elf_cr16_reloc_type)
RELOC_NUMBER (R_CR16_SWITCH8, 26)
RELOC_NUMBER (R_CR16_SWITCH16, 27)
RELOC_NUMBER (R_CR16_SWITCH32, 28)
+ RELOC_NUMBER (R_CR16_GOT_REGREL20, 29)
+ RELOC_NUMBER (R_CR16_GOTC_REGREL20, 30)
+ RELOC_NUMBER (R_CR16_GLOB_DAT, 31)
END_RELOC_NUMBERS(R_CR16_MAX)
#endif /* _ELF_CR16_H */
diff --git a/include/elf/cris.h b/include/elf/cris.h
index 550955df4..afd3ef5cc 100644
--- a/include/elf/cris.h
+++ b/include/elf/cris.h
@@ -147,10 +147,9 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
/* An assembler- and linker-generated relocation, instructing to
resolve the symbol in question yielding the TLS offset of the
- thread variable; relative to the module's TLS data if in a DSO,
- but relative to the executable's thread data if in an
- executable. Not allowed as input when generating a DSO. Assembly
- syntax: "expr:TPOFF". */
+ thread variable, relative to the global TLS block. Not allowed
+ as input when generating a DSO. Assembly syntax:
+ "expr:TPOFF". */
RELOC_NUMBER (R_CRIS_32_TPREL, 28)
/* Similar to R_CRIS_32_TPREL, but only applicable to executables
@@ -164,7 +163,7 @@ START_RELOC_NUMBERS (elf_cris_reloc_type)
/* A linker-generated-only relocation, instructing the dynamic
linker to fill in the current module ID, used for GOT entries
- (always the fourth one). */
+ (usually the fourth one). */
RELOC_NUMBER (R_CRIS_DTPMOD, 30)
/* No other relocs must be visible outside the assembler. */
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index b64a8b6dd..bda9ca193 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-28 Joshua Kinard <kumba@gentoo.org>
+
+ * mips.h: Define CPU_R14000, CPU_R16000.
+ (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
+
2008-11-18 Catherine Moore <clm@codesourcery.com>
* arm.h (FPU_NEON_FP16): New.
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 9af9ea15b..e7cfdb979 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -632,6 +632,8 @@ static const unsigned int mips_isa_table[] =
#define CPU_RM9000 9000
#define CPU_R10000 10000
#define CPU_R12000 12000
+#define CPU_R14000 14000
+#define CPU_R16000 16000
#define CPU_MIPS16 16
#define CPU_MIPS32 32
#define CPU_MIPS32R2 33
@@ -661,7 +663,8 @@ static const unsigned int mips_isa_table[] =
|| (cpu == CPU_R4010 && ((insn)->membership & INSN_4010) != 0) \
|| (cpu == CPU_VR4100 && ((insn)->membership & INSN_4100) != 0) \
|| (cpu == CPU_R3900 && ((insn)->membership & INSN_3900) != 0) \
- || ((cpu == CPU_R10000 || cpu == CPU_R12000) \
+ || ((cpu == CPU_R10000 || cpu == CPU_R12000 || cpu == CPU_R14000 \
+ || cpu == CPU_R16000) \
&& ((insn)->membership & INSN_10000) != 0) \
|| (cpu == CPU_SB1 && ((insn)->membership & INSN_SB1) != 0) \
|| (cpu == CPU_R4111 && ((insn)->membership & INSN_4111) != 0) \
diff --git a/include/xtensa-isa-internal.h b/include/xtensa-isa-internal.h
index 9ea23e440..ae1f1679f 100644
--- a/include/xtensa-isa-internal.h
+++ b/include/xtensa-isa-internal.h
@@ -1,5 +1,5 @@
/* Internal definitions for configurable Xtensa ISA support.
- Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright 2003, 2004, 2005, 2008 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -15,7 +15,8 @@
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. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+ USA. */
#ifndef XTENSA_ISA_INTERNAL_H
#define XTENSA_ISA_INTERNAL_H
@@ -33,6 +34,7 @@
#define XTENSA_OPCODE_IS_CALL 0x00000008
#define XTENSA_STATE_IS_EXPORTED 0x00000001
+#define XTENSA_STATE_IS_SHARED_OR 0x00000002
#define XTENSA_INTERFACE_HAS_SIDE_EFFECT 0x00000001
diff --git a/include/xtensa-isa.h b/include/xtensa-isa.h
index c4e31ed7f..69ac60d4b 100644
--- a/include/xtensa-isa.h
+++ b/include/xtensa-isa.h
@@ -1,5 +1,5 @@
/* Interface definition for configurable Xtensa ISA support.
- Copyright 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -15,7 +15,8 @@
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. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+ USA. */
#ifndef XTENSA_LIBISA_H
#define XTENSA_LIBISA_H
@@ -686,6 +687,13 @@ extern int
xtensa_state_is_exported (xtensa_isa isa, xtensa_state st);
+/* Check for a "shared_or" state. Returns 0 if the condition is false,
+ 1 if the condition is true, and XTENSA_UNDEFINED on error. */
+
+extern int
+xtensa_state_is_shared_or (xtensa_isa isa, xtensa_state st);
+
+
/* Sysregs ("special registers" and "user registers"). */