minor fixes for Xtensa HOWTOs
Bob Wilson
bwilson@tensilica.com
Mon Feb 5 17:47:00 GMT 2007
Some of the fields in the Xtensa HOWTO structures were incorrect. I don't think
any of these really matter, at least for the code that is normally used by the
assembler and linker, but I'd like them to be correct anyway. The patch also
adds a comment or two and reformats the entries to make them more concise.
Tested with an xtensa-elf build and committed.
bfd/
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd-relocs.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20070205/4015fab7/attachment.ksh>
More information about the Binutils
mailing list