projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b22c7
)
- dont save debug info twice
author
Ned Ludd
<solar@gentoo.org>
Tue, 10 Jan 2006 22:44:52 +0000
(22:44 -0000)
committer
Ned Ludd
<solar@gentoo.org>
Tue, 10 Jan 2006 22:44:52 +0000
(22:44 -0000)
svn path=/main/trunk/; revision=2559
bin/prepstrip
patch
|
blob
|
history
diff --git
a/bin/prepstrip
b/bin/prepstrip
index 47130e694ba6d2eede24a3b7a3bfc25f1860d248..f93fe9eaa70fbb0345c09ba92b5daa20c261c6e3 100755
(executable)
--- a/
bin/prepstrip
+++ b/
bin/prepstrip
@@
-21,6
+21,9
@@
save_elf_debug() {
[ "${FEATURES//*splitdebug*/true}" != "true" ] && return 0
+ # dont save debug info twice.
+ [ "${x:7}" == ".debug" ] && return 0
+
mkdir -p $(dirname ${y})
${CHOST}-objcopy --only-keep-debug ${x} ${y}.debug
${CHOST}-objcopy --add-gnu-debuglink=${y}.debug ${x}