pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
* pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro. * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define. From-SVN: r57758
This commit is contained in:
parent
69788039ff
commit
f50df1d58f
@ -1,3 +1,8 @@
|
|||||||
|
2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
|
* pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
|
||||||
|
* pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
|
||||||
|
|
||||||
2002-10-02 Richard Henderson <rth@redhat.com>
|
2002-10-02 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
PR opt/7124
|
PR opt/7124
|
||||||
|
@ -95,10 +95,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
%{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
|
%{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
/* Sibcalls, stubs, and elf sections don't play well. */
|
|
||||||
#undef FUNCTION_OK_FOR_SIBCALL
|
|
||||||
#define FUNCTION_OK_FOR_SIBCALL(x) 0
|
|
||||||
|
|
||||||
/* glibc's profiling functions don't need gcc to allocate counters. */
|
/* glibc's profiling functions don't need gcc to allocate counters. */
|
||||||
#define NO_PROFILE_COUNTERS 1
|
#define NO_PROFILE_COUNTERS 1
|
||||||
|
|
||||||
|
@ -21,3 +21,11 @@ Boston, MA 02111-1307, USA. */
|
|||||||
/* Turn off various SOM crap we don't want. */
|
/* Turn off various SOM crap we don't want. */
|
||||||
#undef TARGET_ELF32
|
#undef TARGET_ELF32
|
||||||
#define TARGET_ELF32 1
|
#define TARGET_ELF32 1
|
||||||
|
|
||||||
|
/* Sibcalls are ok when ld is used in single subspace mode. The
|
||||||
|
multiple subspace mode is not compatible with sibcalls to external
|
||||||
|
functions because the linker generated stubs store the return
|
||||||
|
pointer into the frame. This target does not need multiple
|
||||||
|
subspace stubs, so we allow sibcalls to all functions. */
|
||||||
|
#undef FUNCTION_OK_FOR_SIBCALL
|
||||||
|
#define FUNCTION_OK_FOR_SIBCALL(DECL) 1
|
||||||
|
Loading…
Reference in New Issue
Block a user