bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thun


From: hjl.tools at gmail dot com
Subject: [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx
Date: Tue, 24 Nov 2020 15:16:54 +0000

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

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Tom de Vries from comment #11)
> (In reply to Tom de Vries from comment #10)
> > And, reproduced:
> 
> To put it in gdb terms:
> ...
> $ gdb -q a.out
> Reading symbols from a.out...
> (gdb) b  __x86.get_pc_thunk.bx
> Breakpoint 1 at 0x11d0: file ../sysdeps/i386/crti.S, line 66.
> (gdb) r
> Starting program: a.out 
> Missing separate debuginfos, use: zypper install
> glibc-32bit-debuginfo-2.26-lp152.26.3.1.x86_64
> 
> Breakpoint 1, __x86.get_pc_thunk.bx () at ../sysdeps/i386/crti.S:66
> 66      ../sysdeps/i386/crti.S: No such file or directory.
> Missing separate debuginfos, use: zypper install
> libgcc_s1-gcc11-32bit-debuginfo-11.0.0+git181412-lp152.1.1.x86_64
> ...
> 
> Breakpoint has correct address, but wrong file and wrong line.

[hjl@gnu-cfl-2 libgcc]$ nm /lib/crti.o
00000000 T _fini
         U _GLOBAL_OFFSET_TABLE_
         w __gmon_start__
00000000 T _init
00000000 T __x86.get_pc_thunk.bx
[hjl@gnu-cfl-2 libgcc]$ 


You got the right file.

-- 
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]