]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorJeffrey A Law <law@cygnus.com>
Mon, 1 Mar 1999 22:47:33 +0000 (22:47 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 1 Mar 1999 22:47:33 +0000 (15:47 -0700)
        Tue Feb  2 23:38:35 1999  David O'Brien <obrien@FreeBSD.org>
        * i386/freebsd*.h now allows '$' in label names and does not use the
        PCC struct return method.
        Wed Dec 30 23:00:28 1998  David O'Brien <obrien@NUXI.com>
        * configure.in (FreeBSD ELF): Needs special crt files.
        * configure: Rebuilt.

From-SVN: r25522

gcc/ChangeLog
gcc/config/i386/freebsd-elf.h
gcc/config/i386/freebsd.h
gcc/configure
gcc/configure.in

index 98ecef499136fde726e4ec1f471766622a19e54b..ab90b9ff4aa60668085f5ec356cd3e861334c4d3 100644 (file)
@@ -1,3 +1,13 @@
+Mon Mar  1 23:38:20 1999  Jeffrey A Law  (law@cygnus.com)
+
+       Tue Feb  2 23:38:35 1999  David O'Brien <obrien@FreeBSD.org>
+       * i386/freebsd*.h now allows '$' in label names and does not use the
+       PCC struct return method.
+
+       Wed Dec 30 23:00:28 1998  David O'Brien <obrien@NUXI.com>
+        * configure.in (FreeBSD ELF): Needs special crt files.
+       * configure: Rebuilt.
+
 Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
 
         * config/i386/t-sco5gas (crti.o): New target.
index 3c1934b4cda5f379ec33692139139060a55ba426..0a556fe01bddb133d1d68395952fee9d2baa91bf 100644 (file)
@@ -26,8 +26,13 @@ Boston, MA 02111-1307, USA.  */
 
 /* The svr4 ABI for the i386 says that records and unions are returned
    in memory.  */
+/* On FreeBSD, we do not. */
 #undef DEFAULT_PCC_STRUCT_RETURN
-#define DEFAULT_PCC_STRUCT_RETURN 1
+#define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using
+   libraries compiled with the native cc, so undef it. */
+#undef NO_DOLLAR_IN_LABEL
 
 /* This is how to output an element of a case-vector that is relative.
    This is only used for PIC code.  See comments by the `casesi' insn in
index df653ae3bd99b854b5f6e930e0578c0046fc0c90..a9ce1bfeaa12bcdf2fcd8c0fe2c353851d0b926a 100644 (file)
@@ -89,6 +89,10 @@ Boston, MA 02111-1307, USA.  */
 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* Ensure we the configuration knows our system correctly so we can link with
+   libraries compiled with the native cc. */
+#undef NO_DOLLAR_IN_LABEL
 \f
 /* i386 freebsd still uses old binutils that don't insert nops by default
    when the .align directive demands to insert extra space in the text
index 5987093f27c521b585b37b1c356257fcd6b01d49..25875cd8fe6e3a4f93eee9165cba7eb4bfa8faa3 100755 (executable)
@@ -2854,6 +2854,7 @@ for machine in $build $host $target; do
                tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
                # On FreeBSD, the headers are already ok, except for math.h.
                fixincludes=fixinc.wrap
+               extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
                tmake_file=i386/t-freebsd
                gas=yes
                gnu_ld=yes
@@ -5394,7 +5395,7 @@ fi
 
 # Figure out what assembler alignment features are present.
 echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
-echo "configure:5398: checking assembler alignment features" >&5
+echo "configure:5399: checking assembler alignment features" >&5
 gcc_cv_as=
 gcc_cv_as_alignment_features=
 gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,gcc$,gas,'`
index d840d57f618de70ff506c0df542fd6f4e33fe23e..713039f04ee716c8f72a36a901159d2a5d59cb9b 100644 (file)
@@ -875,6 +875,7 @@ for machine in $build $host $target; do
                tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
                # On FreeBSD, the headers are already ok, except for math.h.
                fixincludes=fixinc.wrap
+               extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
                tmake_file=i386/t-freebsd
                gas=yes
                gnu_ld=yes