Commit bf97847b by John David Anglin Committed by John David Anglin

pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.

	* pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
	* pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.

From-SVN: r59879
parent eb3c46a1
2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
* pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
2002-12-05 Dale Johannesen <dalej@apple.com> 2002-12-05 Dale Johannesen <dalej@apple.com>
* tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR. * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
......
...@@ -1960,3 +1960,7 @@ do { \ ...@@ -1960,3 +1960,7 @@ do { \
{"cmpib_comparison_operator", {EQ, NE, LT, LE, LEU, \ {"cmpib_comparison_operator", {EQ, NE, LT, LE, LEU, \
GT, GTU, GE}}, \ GT, GTU, GE}}, \
{"movb_comparison_operator", {EQ, NE, LT, GE}}, {"movb_comparison_operator", {EQ, NE, LT, GE}},
/* We need a libcall to canonicalize function pointers on TARGET_ELF32. */
#define CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL \
"__canonicalize_funcptr_for_compare"
...@@ -30,11 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,11 +30,6 @@ Boston, MA 02111-1307, USA. */
#undef FUNCTION_OK_FOR_SIBCALL #undef FUNCTION_OK_FOR_SIBCALL
#define FUNCTION_OK_FOR_SIBCALL(DECL) 1 #define FUNCTION_OK_FOR_SIBCALL(DECL) 1
/* We need a libcall to canonicalize function pointers because of
the way function pointers are handled when doing lazy linking. */
#define CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL \
"__canonicalize_funcptr_for_compare"
/* The libcall __canonicalize_funcptr_for_compare is referenced in /* The libcall __canonicalize_funcptr_for_compare is referenced in
crtend.o and the reference isn't resolved in objects that don't crtend.o and the reference isn't resolved in objects that don't
compare function pointers. Thus, we need to play games to provide compare function pointers. Thus, we need to play games to provide
......
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