[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 13:36:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26936
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 12994
--> https://sourceware.org/bugzilla/attachment.cgi?id=12994&action=edit
A simple assembly code
Here is a simple assembly code. It seems to work for me:
[hjl@gnu-cfl-2 pr26936]$ gcc -m32 -g -pie x.s
[hjl@gnu-cfl-2 pr26936]$ gdb a.out
GNU gdb (GDB) Fedora 10.1-2.0.fc33
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...
(gdb) b 95
Breakpoint 1 at 0x1225: file x.s, line 95.
(gdb) r
Starting program: /export/home/hjl/bugs/binutils/pr26936/a.out
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.32-2.0.fc33.i686
Breakpoint 1, __x86.get_pc_thunk.ax () at x.s:95
95 movl (%esp), %eax
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26936] New: [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx,
hjl.tools at gmail dot com <=
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24
- [Bug ld/26936] [ld, PIE] ld drops relocation for .text.__x86.get_pc_thunk.bx, vries at gcc dot gnu.org, 2020/11/24