diff options
author | obrien <obrien@FreeBSD.org> | 2002-11-26 18:25:20 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-11-26 18:25:20 +0000 |
commit | fa7971ab704ca66bdedfd46fc3848768b13fc91e (patch) | |
tree | d57c6ff3abefeaa7651e5939962631421a3f6292 /contrib/gcc/function.c | |
parent | 100044adf505a4d3825eed40ec34ffa1c2397863 (diff) | |
download | FreeBSD-src-fa7971ab704ca66bdedfd46fc3848768b13fc91e.zip FreeBSD-src-fa7971ab704ca66bdedfd46fc3848768b13fc91e.tar.gz |
Remove our custom mixed ELF/a.out support. This means the base compiler
now only produce ELF objects. It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.
Applauded by: peter
Approved by: re
Diffstat (limited to 'contrib/gcc/function.c')
-rw-r--r-- | contrib/gcc/function.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/contrib/gcc/function.c b/contrib/gcc/function.c index b3ec9b3..00ab02c 100644 --- a/contrib/gcc/function.c +++ b/contrib/gcc/function.c @@ -6427,14 +6427,6 @@ mark_varargs () #define HAS_INIT_SECTION #endif -#ifndef GEN_CALL__MAIN -#define GEN_CALL__MAIN \ - do { \ - emit_library_call (gen_rtx_SYMBOL_REF (Pmode, NAME__MAIN), LCT_NORMAL, \ - VOIDmode, 0); \ - } while (0) -#endif - void expand_main_function () { @@ -6474,8 +6466,9 @@ expand_main_function () } #endif -#if defined(INVOKE__main) || !defined (HAS_INIT_SECTION) - GEN_CALL__MAIN; +#ifndef HAS_INIT_SECTION + emit_library_call (gen_rtx_SYMBOL_REF (Pmode, NAME__MAIN), LCT_NORMAL, + VOIDmode, 0); #endif } |