aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-29 07:02:36 +0000
committerAlan Modra <amodra@gmail.com>2012-06-29 07:02:36 +0000
commite63734a3447e0551b6a94e0f96575911d0518f87 (patch)
tree290310be67dab25c30ea2b365e21314d30b80cf6 /binutils
parent1ce1cefd3dc33c8e4364c40a9f53e8dd89ab9c50 (diff)
downloadgdb-e63734a3447e0551b6a94e0f96575911d0518f87.zip
gdb-e63734a3447e0551b6a94e0f96575911d0518f87.tar.gz
gdb-e63734a3447e0551b6a94e0f96575911d0518f87.tar.bz2
* readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 105a45d..c864bc4 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-29 Alan Modra <amodra@gmail.com>
+
+ * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
+
2012-06-12 Tom Tromey <tromey@redhat.com>
* dwarf-mode.el: Add final comment. Bump version.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 527edf2..b1bacfd 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -10093,6 +10093,9 @@ is_16bit_abs_reloc (unsigned int reloc_type)
case EM_XC16X:
case EM_C166:
return reloc_type == 2; /* R_XC16C_ABS_16. */
+ case EM_CYGNUS_MN10200:
+ case EM_MN10200:
+ return reloc_type == 2; /* R_MN10200_16. */
case EM_CYGNUS_MN10300:
case EM_MN10300:
return reloc_type == 2; /* R_MN10300_16. */