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

Tamar Christina <tnfchris at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at sourceware dot org

--- Comment #2 from Tamar Christina <tnfchris at sourceware dot org> ---
To add to what Richard said having the assembler emits much better error
messages for these cases.

If we emitted the relocations here and have the linker resolve them when not
-shared the error would be a generic truncation error.

Ultimately you wouldn't want to write code like this using pcrel instructions
if you want to write PIC code.

I'm also worried about previously working code that can fail if it now ends up
in a shared object with relocation and it's preempted by another symbol which
will more than likely be out of range.

So I also don't think we should emit relocations here.

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

Reply via email to