[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23161] New: __bss_start, _end and _edata aren't marked as hidden
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/23161] New: __bss_start, _end and _edata aren't marked as hidden |
Date: |
Thu, 10 May 2018 18:54:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23161
Bug ID: 23161
Summary: __bss_start, _end and _edata aren't marked as hidden
Product: binutils
Version: 2.31 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
Target: linux
address@hidden tmp]$ cat x.c
void
foo ()
{
}
address@hidden tmp]$ gcc -shared -fpic x.c
address@hidden tmp]$ readelf --dyn-syms a.out
Symbol table '.dynsym' contains 11 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 NOTYPE WEAK DEFAULT UND
_ITM_deregisterTMCloneTab
2: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND
_ITM_registerTMCloneTable
4: 0000000000000000 0 FUNC WEAK DEFAULT UND
address@hidden (2)
5: 0000000000004018 0 NOTYPE GLOBAL DEFAULT 20 _edata
6: 00000000000010f9 2 FUNC GLOBAL DEFAULT 11 foo
7: 0000000000004020 0 NOTYPE GLOBAL DEFAULT 21 _end
8: 0000000000004018 0 NOTYPE GLOBAL DEFAULT 21 __bss_start
9: 0000000000001000 0 FUNC GLOBAL DEFAULT 8 _init
10: 00000000000010fc 0 FUNC GLOBAL DEFAULT 12 _fini
address@hidden tmp]$
__bss_start, _end and _edata shouldn't be in .dynsym.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23161] New: __bss_start, _end and _edata aren't marked as hidden,
hjl.tools at gmail dot com <=
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, hjl.tools at gmail dot com, 2018/05/10
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, amodra at gmail dot com, 2018/05/10
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, markj at FreeBSD dot org, 2018/05/29
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, hjl.tools at gmail dot com, 2018/05/29
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, markj at FreeBSD dot org, 2018/05/29
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, hjl.tools at gmail dot com, 2018/05/30
- [Bug ld/23161] __bss_start, _end and _edata aren't marked as hidden, emaste at freebsd dot org, 2018/05/31