source:
scripts/patch/binutils/2.19.1/05-strip_common.patch@
1e40b4e
Last change on this file since 1e40b4e was 914669c, checked in by , 15 years ago | |
---|---|
|
|
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
1028 1028 used_in_reloc = TRUE; 1029 1029 } 1030 1030 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)))) 1032 1033 keep = TRUE; 1033 1034 else if (bfd_decode_symclass (sym) == 'I') 1034 1035 /* Global symbols in $idata sections need to be retained
Note:
See TracBrowser
for help on using the repository browser.