source:
scripts/patches/binutils-2.15.94.0.1-fix_strip-1.patch@
7134f0d
Last change on this file since 7134f0d was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 811 bytes |
-
binutils-2.15.94.0.
Submitted By: Jeremy Utley <jeremy@linuxfromscratch.org> Initial Package Version: 2.15.94.0.1 Upstream Status: From Upstream Origin: ML Post by HJ Lu - http://sources.redhat.com/ml/binutils/2004-11/msg00332.html Description: With this version of binutils, TLS information is lost when stripping libc.a. This patch fixes the problem. Binutils bugzilla id 574. diff -Naur binutils-2.15.94.0.1/bfd/elfcode.h binutils-2.15.94.0.1-new/bfd/elfcode.h
old new 1158 1158 case STT_OBJECT: 1159 1159 sym->symbol.flags |= BSF_OBJECT; 1160 1160 break; 1161 case STT_TLS: 1162 sym->symbol.flags |= BSF_THREAD_LOCAL; 1163 break; 1161 1164 } 1162 1165 1163 1166 if (dynamic)
Note:
See TracBrowser
for help on using the repository browser.