From a40100271bf7ea229d248af8d71c26b9a4b70eab Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 24 Sep 2001 13:17:16 +0000 Subject: Force memory model to medlow for profiling. espie@ ok. --- gnu/egcs/gcc/config/sparc/openbsd64.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/egcs/gcc/config') diff --git a/gnu/egcs/gcc/config/sparc/openbsd64.h b/gnu/egcs/gcc/config/sparc/openbsd64.h index 9b0e35c9747..2a72bf884bc 100644 --- a/gnu/egcs/gcc/config/sparc/openbsd64.h +++ b/gnu/egcs/gcc/config/sparc/openbsd64.h @@ -53,6 +53,10 @@ Boston, MA 02111-1307, USA. */ %{assert*} \ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}" +/* For profiled binaries we have to change the memory model. */ +#undef CC1_SPEC +#define CC1_SPEC "%{p*:-mcmodel=medlow} %{p:-mcmodel=medlow}" + /* As an elf system, we need crtbegin/crtend stuff. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC "\ -- cgit v1.2.3