[PATCH] Fix a bug of Blackfin gas

Jie Zhang jie.zhang@analog.com
Thu Jul 24 07:20:00 GMT 2008


For an assembly file only containing the following line:

r1 = [p0 + FOO];

Blackfin gas has an internal error:

bfin-linux-uclibc-as: BFD (GNU Binutils) 2.18.50.20080722 internal 
error, aborting at ../../binutils/gas/config/tc-bfin.c line 1447 in 
bfin_gen_ldstidxi

bfin-linux-uclibc-as: Please report this bug.


For Blackfin, the only valid symbol which can be as an offset in 
load/store instruction is "_current_shared_library_p5_offset_". Other 
symbol appearing in that place usually is a program error. I'm 
committing the attached patch to fix it.


Jie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-bfin-error-on-plain-symbol-offset.diff
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080724/122d9186/attachment.bin>


More information about the Binutils mailing list