* pe.c (arm_pe_unique_section): Const-ify.
* pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
(switch_to_section): Add static prototype.
* output.h (drectve_section): Prototype.
From-SVN: r46368
+2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * pe.c (arm_pe_unique_section): Const-ify.
+ * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
+ (switch_to_section): Add static prototype.
+
+ * output.h (drectve_section): Prototype.
+
2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
int len;
const char * name;
char * string;
- char * prefix;
+ const char * prefix;
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
/* Strip off any encoding in fnname. */
#define SUPPORTS_ONE_ONLY 1
/* Switch into a generic section. */
+#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION default_pe_asm_named_section
\f
/* This outputs a lot of .req's to define alias for various registers.
ASM_DECLARE_OBJECT_NAME and then switch back to the original section
afterwards. */
#define SWITCH_TO_SECTION_FUNCTION \
-void \
+static void switch_to_section PARAMS ((enum in_section, tree)); \
+static void \
switch_to_section (section, decl) \
enum in_section section; \
tree decl; \
extern void tdesc_section PARAMS ((void));
#endif
+#ifdef DRECTVE_SECTION_ASM_OP
+extern void drectve_section PARAMS ((void));
+#endif
+
#ifdef TREE_CODE
/* Tell assembler to change to section NAME for DECL.
If DECL is NULL, just switch to section NAME.