source: scripts/patches/binutils-2.15.94.0.1-fix_strip-1.patch@ ec96aa6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since ec96aa6 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • 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.