RFC: Can static executables contain relocations against symbols ?
Nick Clifton
nickc@redhat.com
Thu Mar 30 08:57:42 GMT 2023
Hi Alan,
>> Anyway, does the following fix the particular problem you are seeing?
I am not sure - I will have to investigate. Reproducing the original
problem is difficult because it involves using the Rust compiler on
a non-x86_64 platform, so it may take me a while.
> I'm going to commit the patch even if it doesn't fix your problem
> since that 1995 comment from commit ede4eed48386 needs fixing, and
> it's wrong to use a non-alloc symtab with an alloc reloc section as
> others have commented.
That is a good point. Thanks for creating a better patch.
Cheers
Nick
More information about the Binutils
mailing list