[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22845] -z separate-code doesn't work right
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/22845] -z separate-code doesn't work right |
Date: |
Wed, 14 Feb 2018 12:19:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22845
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Static binary died at:
Program received signal SIGSEGV, Segmentation fault.
__libc_setup_tls () at libc-tls.c:122
122 if (phdr->p_type == PT_TLS)
(gdb) p *phdr
Cannot access memory at address 0x8047034
Program header isn't mapped in:
Elf file type is EXEC (Executable file)
Entry point 0x80487f2
There are 7 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x001000 0x08048000 0x08048000 0x5de08 0x5de08 R E 0x1000
LOAD 0x05ee08 0x080a6e08 0x080a6e08 0x22f8b 0x22f8b R 0x1000
LOAD 0x082b80 0x080cbb80 0x080cbb80 0x013d4 0x01fbc RW 0x1000
NOTE 0x05ee08 0x080a6e08 0x080a6e08 0x00044 0x00044 R 0x4
TLS 0x082b80 0x080cbb80 0x080cbb80 0x00010 0x00030 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
GNU_RELRO 0x082b80 0x080cbb80 0x080cbb80 0x00480 0x00480 R 0x1
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22845] New: -z separate-code doesn't work right, hjl.tools at gmail dot com, 2018/02/13
- [Bug ld/22845] -z separate-code doesn't work right,
hjl.tools at gmail dot com <=
- [Bug ld/22845] -z separate-code doesn't work right, hjl.tools at gmail dot com, 2018/02/14
- [Bug ld/22845] -z separate-code doesn't work right, hjl.tools at gmail dot com, 2018/02/14
- [Bug ld/22845] -z separate-code doesn't work right, hjl.tools at gmail dot com, 2018/02/15
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/16
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/17
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/17
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/17
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/18
- [Bug ld/22845] -z separate-code doesn't work right, cvs-commit at gcc dot gnu.org, 2018/02/19
- [Bug ld/22845] -z separate-code doesn't work right, hjl.tools at gmail dot com, 2018/02/19