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

--- Comment #1 from Jan Beulich <jbeulich at suse dot com> ---
But, first of all, bar<N> would normally be defined in the same TU. Albeit
perhaps this makes no difference here.

Second, in a .long (or other data) directive, how would you pick between PC32
and PLT32? Aiui it would need to be the compiler to request this, by using
@plt. Otherwise we have no way to disambiguate.

Which then runs foul of gas not permitting:

        .long   bar0@plt - .L4

and not even .reloc permitting to express it:

        .long   0 # bar0 - .L4
        .reloc  .-4, R_X86_64_PLT32, bar0 - .L4

(not even if bar0 was defined in the same TU).

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

Reply via email to