[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/21099] New: Strip should update symbol section index after
From: |
jiwang at gcc dot gnu.org |
Subject: |
[Bug binutils/21099] New: Strip should update symbol section index after some sections removed? |
Date: |
Wed, 01 Feb 2017 14:53:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21099
Bug ID: 21099
Summary: Strip should update symbol section index after some
sections removed?
Product: binutils
Version: 2.29 (HEAD)
Status: NEW
Severity: minor
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: jiwang at gcc dot gnu.org
Target Milestone: ---
Can be reproduced by two commands:
===
ld --verbose | tac | sed '/^===/d' | sed '/using internal linker script/,$d' |
sed s/*\(.debug_line/_test\ =\ .\;\ *\(.debug_line/ | tac > new.ld
echo "int cal () { return 0; }" > test.c ; gcc -Wl,-T new.ld -g -shared test.c
-o libtest.so ; strip -s libtest.so ; readelf -s libtest.so | grep "_test"
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/21099] New: Strip should update symbol section index after some sections removed?,
jiwang at gcc dot gnu.org <=
- [Bug binutils/21099] Strip should update symbol section index after some sections removed?, amodra at gmail dot com, 2017/02/14
- [Bug binutils/21099] Strip should update symbol section index after some sections removed?, jiwang at gcc dot gnu.org, 2017/02/17
- [Bug binutils/21099] Sections defined after debug sections result in strip leaving invalid symbols, amodra at gmail dot com, 2017/02/19
- [Bug binutils/21099] Sections defined after debug sections result in strip leaving invalid symbols, amodra at gmail dot com, 2017/02/19
- [Bug binutils/21099] Sections defined after debug sections result in strip leaving invalid symbols, amodra at gmail dot com, 2017/02/20