aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m32r/m32r.c')
-rw-r--r--gcc/config/m32r/m32r.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index edf5fa4..0a98559 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -366,12 +366,16 @@ m32r_select_section (decl, reloc)
*/
void
-m32r_encode_section_info (decl)
+m32r_encode_section_info (decl, first)
tree decl;
+ int first;
{
char prefix = 0;
tree model = 0;
+ if (!first)
+ return;
+
switch (TREE_CODE (decl))
{
case VAR_DECL :