source: patches/binutils-2.15.94.0.1-fix_strip-1.patch@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c was 617118d, checked in by Jim Gifford <clfs@…>, 19 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.