]>
Commit | Line | Data |
---|---|---|
76d05fa0 PS |
1 | *** binutils/objcopy.c 6 Aug 2006 15:49:46 -0000 1.97 |
2 | --- binutils/objcopy.c 4 Sep 2006 12:33:39 -0000 | |
3 | *************** is_strip_section (bfd *abfd ATTRIBUTE_UN | |
4 | *** 815,820 **** | |
5 | --- 815,827 ---- | |
6 | return FALSE; | |
7 | } | |
8 | ||
9 | + /* PR binutils/3166 | |
10 | + Group sections look like debugging sections but they are not. | |
11 | + (They have a non-zero size but they are not ALLOCated). */ | |
12 | + if ((bfd_get_section_flags (abfd, sec) & SEC_GROUP) != 0 | |
13 | + && strip_symbols == STRIP_NONDEBUG) | |
14 | + return TRUE; | |
15 | + | |
16 | return FALSE; | |
17 | } | |
18 |