From e63734a3447e0551b6a94e0f96575911d0518f87 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 29 Jun 2012 07:02:36 +0000 Subject: [PATCH] * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 105a45d6f4d..c864bc45913 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2012-06-29 Alan Modra + + * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc. + 2012-06-12 Tom Tromey * dwarf-mode.el: Add final comment. Bump version. diff --git a/binutils/readelf.c b/binutils/readelf.c index 527edf2a6e9..b1bacfd7227 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. */ -- 2.30.2