source: scripts/patch/binutils/2.19.1/05-strip_common.patch@ 473d4fe

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 473d4fe was 914669c, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated Binutils Patch. Added Patches to fix Issues with Powerpc

  • Property mode set to 100644
File size: 885 bytes
  • src/binutils/objcopy.c

    http://sourceware.org/bugzilla/show_bug.cgi?id=9933
    
    2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR binutils/9933
    	* objcopy.c (filter_symbols): Properly handle common symbols
    	in relocatable file.
    
    RCS file: /cvs/src/src/binutils/objcopy.c,v
    retrieving revision 1.125
    retrieving revision 1.126
    diff -u -r1.125 -r1.126
     
    10281028          used_in_reloc = TRUE;
    10291029        }
    10301030      else if (relocatable                      /* Relocatable file.  */
    1031                && (flags & (BSF_GLOBAL | BSF_WEAK)) != 0)
     1031               && ((flags & (BSF_GLOBAL | BSF_WEAK)) != 0
     1032                   || bfd_is_com_section (bfd_get_section (sym))))
    10321033        keep = TRUE;
    10331034      else if (bfd_decode_symclass (sym) == 'I')
    10341035        /* Global symbols in $idata sections need to be retained
Note: See TracBrowser for help on using the repository browser.