diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-09-07 18:08:52 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-09-07 18:08:52 +0000 |
commit | 58332ddae8627321b36b1210aaa21d2ca5a4c2d0 (patch) | |
tree | ae186e16943e4610754795058c3f72b650860c33 /binutils | |
parent | eb7cc02115c176068ad577e9787cff620cf32d4f (diff) | |
download | gdb-58332ddae8627321b36b1210aaa21d2ca5a4c2d0.zip gdb-58332ddae8627321b36b1210aaa21d2ca5a4c2d0.tar.gz gdb-58332ddae8627321b36b1210aaa21d2ca5a4c2d0.tar.bz2 |
binutils/
* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
New.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e447425..d9c1562 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,10 @@ 2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>): + New. + +2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + * dwarf.c (process_debug_info): Support section padding abbrev codes. 2009-09-07 Tristan Gingold <gingold@adacore.com> diff --git a/binutils/readelf.c b/binutils/readelf.c index a8c1691..09a4b1c 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8163,6 +8163,12 @@ is_none_reloc (unsigned int reloc_type) case EM_MN10300: /* R_MN10300_NONE. */ case EM_M32R: /* R_M32R_NONE. */ return reloc_type == 0; + case EM_XTENSA_OLD: + case EM_XTENSA: + return reloc_type == 0 /* R_XTENSA_NONE. */ + || reloc_type == 17 /* R_XTENSA_DIFF8. */ + || reloc_type == 18 /* R_XTENSA_DIFF16. */ + || reloc_type == 19; /* R_XTENSA_DIFF32. */ } return FALSE; } |