Commit 8a155ecc by Franz Sirl Committed by Franz Sirl

ppc-asm.h (JUMP_TARGET): New macro.

	2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
	* config/rs6000/tramp.asm: Use it.

From-SVN: r47509
parent 837ce479
2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
* config/rs6000/tramp.asm: Use it.
2001-12-01 Zack Weinberg <zack@codesourcery.com>
* gencheck.c, gengenrtl.c: Don't define xmalloc.
......
......@@ -104,6 +104,6 @@ FUNC_START(__trampoline_setup)
blr
.Labort:
bl FUNC_NAME(abort)
bl JUMP_TARGET(abort)
FUNC_END(__trampoline_setup)
......@@ -105,6 +105,7 @@
#if defined(_CALL_AIXDESC)
#define FUNC_NAME(name) GLUE(.,name)
#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.section DESC_SECTION,"aw"; \
name: \
......@@ -123,6 +124,7 @@ GLUE(.L,name): \
#elif defined(__WINNT__)
#define FUNC_NAME(name) GLUE(..,name)
#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.pdata; \
.align 2; \
......@@ -141,6 +143,7 @@ GLUE(FE_MOT_RESVD..,name):
#elif defined(_CALL_NT)
#define FUNC_NAME(name) GLUE(..,name)
#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.section DESC_SECTION,"aw"; \
name: \
......@@ -176,6 +179,11 @@ GLUE(.L,name): \
#else
#define FUNC_NAME(name) GLUE(__USER_LABEL_PREFIX__,name)
#if defined __PIC__ || defined __pic__
#define JUMP_TARGET(name) FUNC_NAME(name@plt)
#else
#define JUMP_TARGET(name) FUNC_NAME(name)
#endif
#define FUNC_START(name) \
.type FUNC_NAME(name),@function; \
.globl FUNC_NAME(name); \
......
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