source: patches/binutils-2.15.94.0.1-fix_strip-1.patch @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
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  
    11581158            case STT_OBJECT:
    11591159              sym->symbol.flags |= BSF_OBJECT;
    11601160              break;
     1161            case STT_TLS:
     1162              sym->symbol.flags |= BSF_THREAD_LOCAL;
     1163              break;
    11611164            }
    11621165
    11631166          if (dynamic)
Note: See TracBrowser for help on using the repository browser.