bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/j


From: hjl.tools at gmail dot com
Subject: [Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/jmp foo`
Date: Mon, 11 Jan 2021 02:45:11 +0000

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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fangrui Song from comment #7)
> Applied your R_386_PLT32 patch.
> 
> # of unexpected failures        6
> 
> make -C Debug check-ld RUNTESTFLAGS=ld-shared/shared.exp # passed for me.
> 

You need to build i386 native linker to see all failures.  I used:

CC="/usr/gcc-10.1.1-32bit/bin/gcc -m32 -fcf-protection"
CXX="/usr/gcc-10.1.1-32bit/bin/g++ -m32 -fcf-protection"
/export/gnu/import/git/sources/binutils-gdb/configure \
         \
         i686-linux \
        --enable-plugins --disable-gdb --disable-gdbserver
--disable-libdecnumber --disable-readline --disable-sim --with-sysroot=/
--with-system-zlib \
        --prefix=/usr/local \
        --with-local-prefix=/usr/local

to configure binutils on Linux/x86-64.  /usr/gcc-10.1.1-32bit/bin/gcc is
32bit GCC.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]