[cfe-dev] Why clang creates ELF section group with only one section in it?
sbn at tbricks.com
Wed May 16 02:06:26 PDT 2012
On 15.05.2012 23:00, Rafael Espíndola wrote:
> Good point. We can probably move it there (assuming gold and gnu ld
> are OK with it). Would you mind opening a bug about just this bit?
> OK, I understand this too now. It looks like the problem is coming
> from the relocations for "FDE initial location". They are easy to see
> $ clang -S a.cpp -fno-dwarf2-cfi-asm
> We have something like
> _Z3bazv: # @_Z3bazv
> .long .Ltmp2 # FDE initial location
> It would probably be OK to use the symbol directly. Would that fix the
> link for you?
Yes, after changing .LtmpXX label to function name in 'FDE initial
location' I was able to link fine using both old and new Solaris linkers.
Should I open another case for this?
More information about the cfe-dev