diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1994-02-09 14:52:46 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1994-02-09 14:52:46 +0000 |
commit | c18cf4e5cabed3868bfc697d2eb890835da8e46f (patch) | |
tree | e30aad53c5680e41d6e36f5b9c81fa149772e1aa /gcc/config/i386 | |
parent | 29e11dabe9ef0d906d57eadb0a0bea96f250cd67 (diff) | |
download | gcc-c18cf4e5cabed3868bfc697d2eb890835da8e46f.zip gcc-c18cf4e5cabed3868bfc697d2eb890835da8e46f.tar.gz gcc-c18cf4e5cabed3868bfc697d2eb890835da8e46f.tar.bz2 |
Make elf profiling use new calling sequence.
From-SVN: r6512
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/osfelf.h | 8 | ||||
-rw-r--r-- | 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 83c93f4..12bdebe 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 f8d778d..858c277 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 }}" |