Commit Graph

265 Commits

Author SHA1 Message Date
deischen
8eb1230107 Make gcc -pthread link to -lpthread instead of -lc_r. 2004-01-30 12:14:19 +00:00
kan
9cc58e02e0 This commit was generated by cvs2svn to compensate for changes in r124151,
which included commits to RCS files with non-trunk default branches.
2004-01-05 20:27:51 +00:00
kan
61ac7e3646 Fix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
started to use internally. They need to be stripped before
the name of the label or symbol is printed.
2003-12-22 04:27:17 +00:00
obrien
0d7845a7ec One might want to correctly generate 32-bit code on an Opteron.
Submitted by:	peter
2003-12-16 05:40:06 +00:00
obrien
0a1e7b39d8 Consistently define __LP64__ on all our 64-bit platforms. 2003-12-15 10:34:01 +00:00
deischen
5563abd4bb Remove a comment stating that -pthread isn't supported. 2003-11-10 18:52:57 +00:00
kan
c49dadd24a Merge r1.11 (-mno-align-long-strings). 2003-11-07 03:17:46 +00:00
kan
7329cbde9d Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).
2003-11-07 03:16:22 +00:00
kan
a084c35ceb No FreeBSD-local changes in these files. 2003-11-07 03:05:29 +00:00
kan
1f79a7c5d0 This commit was generated by cvs2svn to compensate for changes in r122180,
which included commits to RCS files with non-trunk default branches.
2003-11-07 02:43:04 +00:00
kan
b09448931a Gcc 3.3.3 20031106. 2003-11-07 02:43:04 +00:00
deischen
4d5be91935 The ports freeze may take longer than anticipated. Instead of
waiting for it to be delayed, temporarily back out the -pthread
removal until the freeze is lifted.

Freeze possibly taking longer than necessary:	will
Requested by:	kris
2003-09-21 07:59:16 +00:00
obrien
67fad005f3 Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes. 2003-09-12 19:19:10 +00:00
deischen
6a3d4cfc63 Remove the -pthread option (in FreeBSD versions 500016 and greater) as
threatened over 2 years ago.

Why?  -pthread was a hack to prevent linking to both libc and libc_r
and became unecessary when libc_r became free of libc.  Now that we
have multiple thread libraries from which to choose, it is more confusing
because you can't link to more than one threads library at a time.
Things like autoconf and libtool sometimes detect -pthread and
also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS},
really wacky things ensue when PTHREAD_LIBS is set to another
threads library.  This might not be so bad if the build broke
when this happens, but it doesn't and you don't know it until
funny things happen when you run the application (or use an
affected library).

Reviewed by:    obrien
2003-09-03 15:44:34 +00:00
deischen
591fec46c4 Backout rev 1.10.
Requested by:	obrien
2003-09-01 05:31:33 +00:00
deischen
2ab4d8bc05 Remove -pthread as a compiler option. It was deprecated 2.5 years
ago, but not removed.

No reply from:	threads, kan, obrien
2003-08-31 22:38:52 +00:00
obrien
f02f882874 Reformat FBSD_{START,END}FILE_SPEC to FSF coding standards.
Use these in our i386, amd64, and alpha platforms.
2003-08-24 16:56:31 +00:00
kan
08db0e4d74 Gcc 3.3.1-release. 2003-08-22 02:56:07 +00:00
kan
61e519ea39 This commit was generated by cvs2svn to compensate for changes in r119256,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:56:07 +00:00
gordon
bd11a56d7e Tell the toolchain to look for rtld in /libexec instead of /usr/libexec. 2003-08-17 08:17:44 +00:00
obrien
660ebc38ab This file became OBE when we went to GCC 3. 2003-07-17 17:15:22 +00:00
kan
b4eae594fc Do not override FP rounding options for 32bit platforms. amd64 doesn't
need this.
2003-07-12 19:33:34 +00:00
kan
8b2cc597a6 Update for GCC 3.3.1-prerelease. 2003-07-11 05:09:19 +00:00
kan
72fde9e54f Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8 Change symbol values to match freebsd.h.
2003-07-11 05:05:45 +00:00
kan
a523505e2a Update for 3.3.1-prerelease. 2003-07-11 05:03:47 +00:00
kan
1a0381eb69 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.4 Look into right directory when linking 32-bit binaries.
2003-07-11 04:54:45 +00:00
kan
4ea7467e5f Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2	Tweaks to make this file live beside our hacked config.
2003-07-11 04:43:01 +00:00
kan
9d744067fc Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.11	-mno-align-long-strings.
2003-07-11 04:29:35 +00:00
kan
7e1f51a9b1 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.10  -mno-align-long-strings.
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.
2003-07-11 04:28:01 +00:00
kan
4e7ac24200 FreeBSD uses stock versions of these GCC files. 2003-07-11 04:00:23 +00:00
kan
b2a8872fbe Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
kan
0d58036562 This commit was generated by cvs2svn to compensate for changes in r117395,
which included commits to RCS files with non-trunk default branches.
2003-07-11 03:40:53 +00:00
obrien
e8d5d4c126 I goofed in rev 1.59 (a.out support axing) and missed getting FUNCTION_PROFILER
fully clean.  This resulted in inserted garbage into the produced assembly code
when the gcc -pg and -fPIC options are used together.

PR:		i386/50598
Submitted by:	Don Lewis <truckman@freebsd.org>
2003-05-08 16:02:22 +00:00
obrien
8a892a44c5 We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +00:00
obrien
b2a2b3f04e Fix the LINK_SPEC. Our i386 32-bit emulation name changed.
We also need to look in the proper directory for 32-bit libs.
2003-04-26 19:20:25 +00:00
obrien
61b472de77 Remove the last vestiges (I hope) of the mixed ELF/a.out support.
As a plus we can use the stock CC1_SPEC and ASM_SPEC for AMD64.
2003-04-26 19:16:54 +00:00
kan
bb8e727a8d Teach gcc how to put unitialized data into BSS on FreeBSD. 2003-04-13 01:04:01 +00:00
kan
52e69d78ee Remove files incidentally imported from the wrong place during
3.2.1 import. They are not used by any of our system GCC versions
and will be physically removed from repository soon.

Reviewed by:	obrien
2003-03-26 18:12:01 +00:00
kan
ea2de33c6b This commit was generated by cvs2svn to compensate for changes in r112680,
which included commits to RCS files with non-trunk default branches.
2003-03-26 18:12:01 +00:00
kan
2da58157b4 Merge FreeBSD modifications into gcc 3.2.2 release:
1.10  -mno-align-long-strings.
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.
2003-02-10 06:05:16 +00:00
kan
0a982e8aa5 Merge FreeBSD modifications into gcc 3.2.2 release:
1.11  -mno-align-long-strings.
Note the change 1.15 is not needed anymore.
2003-02-10 06:04:35 +00:00
kan
793833d7a7 Gcc 3.2.2-release. 2003-02-10 05:41:50 +00:00
kan
88e949e954 This commit was generated by cvs2svn to compensate for changes in r110611,
which included commits to RCS files with non-trunk default branches.
2003-02-10 05:41:50 +00:00
kan
16d547a294 Fix a bug in GCC which effectively prevents DEFAULT_PCC_STRUCT_RETURN from
having any effect. This restores a calling convention traditionally used
by FreeBSD/i386 and which is expected by a number of assembly sources
in libc.

Reviewed by:	obrien
Approved by:	re (rwatson)
2002-12-22 05:57:53 +00:00
obrien
8b626b1c8d _NIH, __NIH__, __N_I_H__, __nih__, _niH_.
*sigh* GCC developers can't seem to make up their mind which pre-defined arch
symbols are the official ones.  So make them, and the Sparc64 using Martians
happy with every permutation.

This fixes f77 and possibly changes some 'long long' handling.

Approved by:	re(bmah)
2002-12-05 18:40:24 +00:00
obrien
1babcc37ec Update HEAD with FSF branch 3.2.1 release files. 2002-12-04 16:35:55 +00:00
obrien
d3c00e65a3 Use pure stock files. 2002-12-04 16:31:48 +00:00
obrien
24cacfdcb6 Fix typo to sync with FSF sources. 2002-12-04 16:09:42 +00:00
obrien
ba3fadd779 Merge revs 1.10 (-mno-align-long-strings) and 1.11 (LONG_TYPE_SIZE override)
into Gcc 3.2.1 release.
2002-12-04 16:07:58 +00:00
obrien
72957d94ad Merge rev 1.11 (-mno-align-long-strings) into Gcc 3.2.1 release. 2002-12-04 16:04:26 +00:00