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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"pushl main@GOT(%ebx)" is   |"pushl main@GOT(%ebx)" is
                   |mishandled                  |mishandled by older
                   |                            |binutils

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
When glibc was compiled with

commit 11c2852449825a5f486f63bc40aabed56b7c04c1 (HEAD)
Author: Jan Beulich <jbeul...@suse.com>
Date:   Fri Feb 21 10:24:50 2025 +0100

    x86: widen @got{,pcrel} support to PUSH and APX IMUL

    With us doing the transformation to an immediate operand for MOV and
    various ALU insns, there's little reason to then not support the same
    conversion for the other two insns which have respective immediate
    operand forms. Unfortunately for IMUL (due to the 0F opcode prefix)
    there's no suitable relocation, so the pre-APX forms cannot be marked
    for relaxation in the assembler.

"pushl main@GOT(%ebx)" in sysdeps/i386/start.S was assembled to

  1c:   ff b3 00 00 00 00       push   0x0(%ebx)        1e: R_386_GOT32X       
main

which is incompatible with the older binutils.

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

Reply via email to