aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-07 04:55:11 +0000
committerAlan Modra <amodra@gmail.com>2006-06-07 04:55:11 +0000
commit02a38f92868b28b2f933e6cd2eff2da4fa60d789 (patch)
tree9b35d971ace260d87e9d83c1026aa342acaa29c9 /ld/ldlang.c
parentecbc8539b04f2fe208f2c892f9cf69756f451b7f (diff)
downloadgdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.zip
gdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.tar.gz
gdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.tar.bz2
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
info_section and overlay_section. Add noalloc_section. * ldlang.c (lang_add_section): Adjust. * ldgram.y (type): Adjust.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index ca986a0..9c9f965 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1962,10 +1962,7 @@ lang_add_section (lang_statement_list_type *ptr,
{
case normal_section:
break;
- case dsect_section:
- case copy_section:
- case info_section:
- case overlay_section:
+ case noalloc_section:
output->bfd_section->flags &= ~SEC_ALLOC;
break;
case noload_section: