[patch] VAX ELF PIC support.

Richard Henderson rth@redhat.com
Mon Sep 22 06:31:00 GMT 2003


On Sun, Sep 21, 2003 at 10:41:25PM -0700, Matt Thomas wrote:
> "movl $1, *bar" is an illegal addressing mode when generating PIC
> code since the indirection (*) is reserved to the linker.  Because
> bar can be accessed via a COPY reloc in a shared library ...

But we KNOW that we're not in a shared library.  The user told us
via command-ine options.  That's why we know that the bar that we
have in the current translation unit is the one that MUST be bound
by ld and ld.so.

If VAX ELF is really broken in this way, you should just override
binds_local_p and get it over with.


r~



More information about the Gcc-patches mailing list