use assigned EM_XTENSA value
Bob Wilson
bwilson@tensilica.com
Mon Aug 15 18:21:00 GMT 2005
The Xtensa port of BFD has been using an old, unofficial value for
ELF_MACHINE_CODE for some time. The official EM_XTENSA value has been
recognized but not used. This was for backward compatibility with some old
tools that did not recognize the new value. It's been long enough, though, so
I'm switching to use the official value now. Tested by running the testsuites
with an xtensa-elf target, and committed on the mainline.
2005-08-15 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
of EM_XTENSA and EM_XTENSA_OLD.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: em_xtensa.diff
Type: text/x-patch
Size: 1043 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050815/82550ce3/attachment.bin>
More information about the Binutils
mailing list