aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x/c4x.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/c4x/c4x.c')
-rw-r--r--gcc/config/c4x/c4x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index 44c916f..f5c987c 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -4497,7 +4497,7 @@ c4x_global_label (name)
return;
p = p->next;
}
- p = (struct name_list *) permalloc (sizeof *p);
+ p = (struct name_list *) xmalloc (sizeof *p);
p->next = global_head;
p->name = name;
global_head = p;
@@ -4546,7 +4546,7 @@ c4x_external_ref (name)
return;
p = p->next;
}
- p = (struct name_list *) permalloc (sizeof *p);
+ p = (struct name_list *) xmalloc (sizeof *p);
p->next = extern_head;
p->name = name;
extern_head = p;