config.gcc: Set extra_objs in the generic Darwin rule, not in the machine-specific...
authorGeoffrey Keating <geoffk@apple.com>
Thu, 19 Dec 2002 05:19:47 +0000 (05:19 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 19 Dec 2002 05:19:47 +0000 (05:19 +0000)
* config.gcc: Set extra_objs in the generic Darwin rule,
not in the machine-specific rules.

From-SVN: r60282

gcc/ChangeLog
gcc/config.gcc

index e8b07d52e4d52492bb8e3dc1dacd6d61f31e1d23..1f4c8710b6fe800e424ab4f9704d659ba00bc7cc 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * config.gcc: Set extra_objs in the generic Darwin rule,
+       not in the machine-specific rules.
+
 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * ChangeLog: Follow spelling conventions.
index a6114ca7a2477fb90139cb1931c11a6e6a15b2de..707f18078faffe9bb4ebd026b2a6f293e816abee 100644 (file)
@@ -470,6 +470,7 @@ case $machine in
        extra_parts="crt2.o"
        # Darwin linker does collect2 functionality
        use_collect2=no
+       extra_objs="darwin.o"
        ;;      
 *-*-vxworks*)
        tmake_file=t-vxworks
@@ -1958,7 +1959,6 @@ powerpc-*-beos*)
 powerpc-*-darwin*)
        tm_file="${tm_file} rs6000/darwin.h"
        tmake_file="rs6000/t-fprules t-darwin rs6000/t-darwin"
-       extra_objs="darwin.o"
        extra_headers=altivec.h
        # override ppc default
        need_64bit_hwint=