aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-06-25 16:11:09 +0000
committerNick Clifton <nickc@redhat.com>2004-06-25 16:11:09 +0000
commit69b8cb2bd5df76fb44b43cbdb9af9801d59a0179 (patch)
treea991ce63f7498b075bf4d6d1401ff1c0eaaff06a
parent3239c90a001f1ee75a8bb4d56202d98c7c2faa13 (diff)
downloadnewlib-69b8cb2bd5df76fb44b43cbdb9af9801d59a0179.zip
newlib-69b8cb2bd5df76fb44b43cbdb9af9801d59a0179.tar.gz
newlib-69b8cb2bd5df76fb44b43cbdb9af9801d59a0179.tar.bz2
Add support for M32R GOT relocs
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/m32r.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 1783b5b..9873532 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * m32r.h: Add defintions of R_M32R_GOTOFF_HI_ULO,
+ R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO.
+
2004-06-19 Alan Modra <amodra@bigpond.net.au>
* common.h (ELF64_R_INFO): Warning fix.
diff --git a/include/elf/m32r.h b/include/elf/m32r.h
index 709d792..6441efe 100644
--- a/include/elf/m32r.h
+++ b/include/elf/m32r.h
@@ -1,5 +1,5 @@
/* M32R ELF support for BFD.
- Copyright 1996, 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -67,6 +67,9 @@ START_RELOC_NUMBERS (elf_m32r_reloc_type)
RELOC_NUMBER (R_M32R_GOTPC_HI_ULO, 59)
RELOC_NUMBER (R_M32R_GOTPC_HI_SLO, 60)
RELOC_NUMBER (R_M32R_GOTPC_LO, 61)
+ RELOC_NUMBER (R_M32R_GOTOFF_HI_ULO, 62)
+ RELOC_NUMBER (R_M32R_GOTOFF_HI_SLO, 63)
+ RELOC_NUMBER (R_M32R_GOTOFF_LO, 64)
END_RELOC_NUMBERS (R_M32R_max)
/* Processor specific section indices. These sections do not actually