Commit ebe413e5 by Nick Clifton Committed by Nick Clifton

Only build arm_elf_asm_named_section for elf targets

From-SVN: r47262
parent eb9601ab
2001-11-22 Nick Clifton <nickc@cambridge.redhat.com> 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
targets.
* config.gcc (xscale-coff): Add necessary header files to * config.gcc (xscale-coff): Add necessary header files to
tm_file variable. tm_file variable.
......
...@@ -114,8 +114,10 @@ static void thumb_output_function_prologue PARAMS ((FILE *, ...@@ -114,8 +114,10 @@ static void thumb_output_function_prologue PARAMS ((FILE *,
HOST_WIDE_INT)); HOST_WIDE_INT));
static int arm_comp_type_attributes PARAMS ((tree, tree)); static int arm_comp_type_attributes PARAMS ((tree, tree));
static void arm_set_default_type_attributes PARAMS ((tree)); static void arm_set_default_type_attributes PARAMS ((tree));
#ifdef OBJECT_FORMAT_ELF
static void arm_elf_asm_named_section PARAMS ((const char *, static void arm_elf_asm_named_section PARAMS ((const char *,
unsigned int)); unsigned int));
#endif
static int arm_adjust_cost PARAMS ((rtx, rtx, rtx, int)); static int arm_adjust_cost PARAMS ((rtx, rtx, rtx, int));
#undef Hint #undef Hint
...@@ -954,7 +956,8 @@ const_ok_for_arm (i) ...@@ -954,7 +956,8 @@ const_ok_for_arm (i)
mask = mask =
(mask << 2) | ((mask & (unsigned HOST_WIDE_INT) 0xffffffff) (mask << 2) | ((mask & (unsigned HOST_WIDE_INT) 0xffffffff)
>> (32 - 2)) | ~(unsigned HOST_WIDE_INT) 0xffffffff; >> (32 - 2)) | ~(unsigned HOST_WIDE_INT) 0xffffffff;
} while (mask != ~(unsigned HOST_WIDE_INT) 0xFF); }
while (mask != ~(unsigned HOST_WIDE_INT) 0xFF);
return FALSE; return FALSE;
} }
...@@ -10833,6 +10836,7 @@ aof_dump_imports (f) ...@@ -10833,6 +10836,7 @@ aof_dump_imports (f)
} }
#endif /* AOF_ASSEMBLER */ #endif /* AOF_ASSEMBLER */
#ifdef OBJECT_FORMAT_ELF
/* Switch to an arbitrary section NAME with attributes as specified /* Switch to an arbitrary section NAME with attributes as specified
by FLAGS. ALIGN specifies any known alignment requirements for by FLAGS. ALIGN specifies any known alignment requirements for
the section; 0 if the default should be used. the section; 0 if the default should be used.
...@@ -10874,3 +10878,4 @@ arm_elf_asm_named_section (name, flags) ...@@ -10874,3 +10878,4 @@ arm_elf_asm_named_section (name, flags)
fprintf (asm_out_file, "\t.section\t%s,\"%s\",%%%s\n", fprintf (asm_out_file, "\t.section\t%s,\"%s\",%%%s\n",
name, flagchars, type); name, flagchars, type);
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment