Commit 9ddab891 by Nick Clifton Committed by Nick Clifton

Use .thumb_set pseudo op to mark aliases of thumb functions.

From-SVN: r27586
parent e4faf1eb
Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
.thumb_set pseudo op to mark aliases of thumb functions.
Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
* varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
......
......@@ -140,6 +140,26 @@ extern int arm_structure_size_boundary;
} \
while (0)
/* For aliases of functions we use .thumb_set instead. */
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE,DECL1,DECL2) \
do \
{ \
char * LABEL1 = XSTR (XEXP (DECL_RTL (decl), 0), 0); \
char * LABEL2 = IDENTIFIER_POINTER (DECL2); \
\
if (TREE_CODE (DECL1) == FUNCTION_DECL) \
{ \
fprintf (FILE, "\t.thumb_set "); \
assemble_name (FILE, LABEL1); \
fprintf (FILE, ","); \
assemble_name (FILE, LABEL2); \
fprintf (FILE, "\n"); \
} \
else \
ASM_OUTPUT_DEF (FILE, LABEL1, LABEL2); \
} \
while (0)
/* A list of other sections which the compiler might be "in" at any
given time. */
#undef EXTRA_SECTIONS
......
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