From c18cf4e5cabed3868bfc697d2eb890835da8e46f Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 9 Feb 1994 14:52:46 +0000 Subject: [PATCH] Make elf profiling use new calling sequence. From-SVN: r6512 --- gcc/config/i386/osfelf.h | 8 +++++--- gcc/config/i386/osfrose.h | 10 +++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/config/i386/osfelf.h b/gcc/config/i386/osfelf.h index 83c93f43c45..12bdebec360 100644 --- a/gcc/config/i386/osfelf.h +++ b/gcc/config/i386/osfelf.h @@ -40,10 +40,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Turn on -mpic-extern by default (change to later use -fpic. */ #undef CC1_SPEC #define CC1_SPEC "\ -%{!melf: %{!mrose: -melf }} \ -%{!mrose: %{!munderscores: %{!mno-underscores: -mno-underscores }}} \ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ -%{mrose: %{pic-none: -mno-half-pic} \ +%{!melf: %{!mrose: -melf }} \ +%{!mrose: %{!munderscores: %{!mno-underscores: -mno-underscores }} \ + %{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount-ptr }}}} \ +%{mrose: %{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount }}} \ + %{pic-none: -mno-half-pic} \ %{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \ %{!pic-none: -mhalf-pic }}" diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index f8d778d2c42..858c2772e68 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -81,6 +81,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ { "large-align", MASK_LARGE_ALIGN}, \ { "no-large-align",-MASK_LARGE_ALIGN}, \ { "mcount", -MASK_NO_MCOUNT}, \ + { "mcount-ptr", MASK_NO_MCOUNT}, \ { "no-mcount", MASK_NO_MCOUNT}, /* OSF/rose uses stabs, not dwarf. */ @@ -115,10 +116,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Turn on -pic-extern by default. */ #undef CC1_SPEC #define CC1_SPEC "\ -%{!melf: %{!mrose: -mrose }} \ -%{melf: %{!munderscores: %{!mno-underscores: -mno-underscores }}} \ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \ -%{!melf: %{pic-none: -mno-half-pic} \ +%{!melf: %{!mrose: -mrose }} \ +%{melf: %{!munderscores: %{!mno-underscores: -mno-underscores }} \ + %{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount-ptr }}}} \ +%{!melf: %{!munderscores: %{!mno-underscores: -munderscores }} \ + %{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount }}} \ + %{pic-none: -mno-half-pic} \ %{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \ %{!pic-none: -mhalf-pic }}" -- 2.30.2