binutils/

* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
	New.
This commit is contained in:
Jan Kratochvil 2009-09-07 18:08:52 +00:00
parent eb7cc02115
commit 58332ddae8
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;
}