fix Xtensa branch relaxation bug
Bob Wilson
bwilson@tensilica.com
Thu Nov 11 19:06:00 GMT 2004
The MAX_IMMED6 macro used to determine if a short Xtensa branch is in range had
an incorrect value that caused the assembler to hit an assertion failure. I've
included a new test for this. Committed on mainline.
gas/
* config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
gas/testsuite/
* gas/xtensa/short_branch_offset.s: New.
* gas/xtensa/short_branch_offset.d: New.
* gas/xtensa/all.exp: Run new test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-max-immed6.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20041111/914821c8/attachment.ksh>
More information about the Binutils
mailing list