Use .thumb_set pseudo op to mark aliases of thumb functions.
From-SVN: r27586
This commit is contained in:
parent
e4faf1eb91
commit
9ddab891df
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
|
* varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
|
||||||
|
@ -140,6 +140,26 @@ extern int arm_structure_size_boundary;
|
|||||||
} \
|
} \
|
||||||
while (0)
|
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
|
/* A list of other sections which the compiler might be "in" at any
|
||||||
given time. */
|
given time. */
|
||||||
#undef EXTRA_SECTIONS
|
#undef EXTRA_SECTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user