aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-07 22:19:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-07 22:19:37 +0000
commit6e3f953dbdd7f718e2e1fdaac67130b2855a0fe9 (patch)
tree7a14a198200f88eaa7112303e3a4bb562fc062b3 /gas/config/tc-ia64.c
parent003519a7c29470959d24bbf5a212d29919c40dc7 (diff)
downloadgdb-6e3f953dbdd7f718e2e1fdaac67130b2855a0fe9.zip
gdb-6e3f953dbdd7f718e2e1fdaac67130b2855a0fe9.tar.gz
gdb-6e3f953dbdd7f718e2e1fdaac67130b2855a0fe9.tar.bz2
gas/
2005-05-07 H.J. Lu <hongjiu.lu@intel.com> PR 940 * config/tc-ia64.c (start_unwind_section): Properly check comdat group with SHF_GROUP. gas/testsuite/ 2005-05-07 H.J. Lu <hongjiu.lu@intel.com> PR 940 * gas/ia64/group-2.d: New. * gas/ia64/group-2.s: New. * gas/ia64/ia64.exp: Add "group-2".
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r--gas/config/tc-ia64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 729ce27..43b79e5 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -3535,7 +3535,8 @@ start_unwind_section (const segT text_seg, int sec_index)
sec_name [sec_name_len] = '\0';
/* Handle COMDAT group. */
- if (suffix == text_name && (text_seg->flags & SEC_LINK_ONCE) != 0)
+ if ((text_seg->flags & SEC_LINK_ONCE) != 0
+ && (elf_section_flags (text_seg) & SHF_GROUP) != 0)
{
char *section;
size_t len, group_name_len;