summaryrefslogtreecommitdiff
path: root/gcc/config/arm/aout.h
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-07 10:02:49 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-07 10:02:49 +0000
commitc00597d18bcd3b6c2f4a47161089d2cbc8db97cc (patch)
treeb2df055698c7dd8c4527d0866b021b766ec877b7 /gcc/config/arm/aout.h
parent8e40c4f5d6c9717bd07be389005e882fd14df5a4 (diff)
downloadgcc-c00597d18bcd3b6c2f4a47161089d2cbc8db97cc.tar.gz
Apply patch from Nick Burrett <nick.burrett@btinternet.com>
to implementn -mpoke-function-name git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/aout.h')
-rw-r--r--gcc/config/arm/aout.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/arm/aout.h b/gcc/config/arm/aout.h
index 692d54fa2df..2e341b768a6 100644
--- a/gcc/config/arm/aout.h
+++ b/gcc/config/arm/aout.h
@@ -129,7 +129,12 @@ do { \
/* Output a function label definition. */
#ifndef ASM_DECLARE_FUNCTION_NAME
-#define ASM_DECLARE_FUNCTION_NAME(STREAM,NAME,DECL) ASM_OUTPUT_LABEL (STREAM, NAME)
+#define ASM_DECLARE_FUNCTION_NAME(STREAM,NAME,DECL) \
+{ \
+ if (TARGET_POKE_FUNCTION_NAME) \
+ arm_poke_function_name ((STREAM), (NAME)); \
+ ASM_OUTPUT_LABEL (STREAM, NAME); \
+}
#endif
#ifndef ASM_OUTPUT_LABEL