https://sourceware.org/bugzilla/show_bug.cgi?id=3298

--- Comment #18 from Quentin Boswank <qubos at outlook dot de> ---
I've dugged depper into gas and oh boy is it ever brocken!
I have tested with all the patches appied because the patches themselfs are
fine but they allow for other problems to get visible.

Here are some of the things I found:
 - no R_SH_REL8/16 (R_SH_DIR will get emitted instead)
 - getting a +3 addend but the directive was +1 on .byte and .word
 - addends missing for R_SH_REL/DIR32
 - wrong R_SH_DATA/CODE (even saw both of them at the same address)
 - missing and unneeded R_SH_LABELs
 - no destinction if a label is an actual jump target or just for .uses as an
exmaple (blocks store/load relaxtion swapping in many cases)
 - getting diffrent relocs depending on wich section I am in (usually should be
the same)
 - other wierd reloc aliasing and missing ones like switch table logic

I am suprised that gas works so well because some of these afect it even
without relaxation. I will not fix all of them because I just dont have enought
time for this alongside school.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to