source: scripts/patch/binutils/2.19.1/05-strip_common.patch@ 5bc27c8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5bc27c8 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
RevLine 
[914669c]1http://sourceware.org/bugzilla/show_bug.cgi?id=9933
2
32009-03-09 H.J. Lu <hongjiu.lu@intel.com>
4
5 PR binutils/9933
6 * objcopy.c (filter_symbols): Properly handle common symbols
7 in relocatable file.
8
9===================================================================
10RCS file: /cvs/src/src/binutils/objcopy.c,v
11retrieving revision 1.125
12retrieving revision 1.126
13diff -u -r1.125 -r1.126
14--- src/binutils/objcopy.c 2009/01/29 13:03:21 1.125
15+++ src/binutils/objcopy.c 2009/03/10 00:48:09 1.126
16@@ -1028,7 +1028,8 @@
17 used_in_reloc = TRUE;
18 }
19 else if (relocatable /* Relocatable file. */
20- && (flags & (BSF_GLOBAL | BSF_WEAK)) != 0)
21+ && ((flags & (BSF_GLOBAL | BSF_WEAK)) != 0
22+ || bfd_is_com_section (bfd_get_section (sym))))
23 keep = TRUE;
24 else if (bfd_decode_symclass (sym) == 'I')
25 /* Global symbols in $idata sections need to be retained
26
Note: See TracBrowser for help on using the repository browser.