[Xtensa Patch]: Be less strict with difference of two symbols involving constants
Sterling Augustine
sterling@tensilica.com
Tue Sep 22 21:55:00 GMT 2009
GCC top of trunk has recently started producing expressions of the form
(post VTA merge):
.4byte .Lfoo - constant - .Lbar
The Xtensa port of gas had been rejecting expressions of this form
because the linker relaxation contained no mechanism to cope with the
constant. This was preventing GCC top of trunk from building for Xtensa.
It seems that the Xtensa port is being too strict here, and the GCC code
does work as intended. I have therefore committed the attached patch
which removes this restriction. GCC top of trunk now builds.
Sterling
2009-09-22 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (md_apply_fix): Remove check for constant
with difference of of two symbols.
(xtensa_fix_adjustable): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: symbols_patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090922/29bb273b/attachment.ksh>
More information about the Binutils
mailing list