808 Commits

Author SHA1 Message Date
kan
57af144a41 Update MI config bits for GCC 3.4.2-prerelease. 2004-07-28 04:34:05 +00:00
kan
2d2a84288c Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
interpreter on FreeBSD 5.x series.
2004-07-28 04:31:47 +00:00
kan
57c77b7632 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2   Localize the version string.
2004-07-28 04:27:06 +00:00
kan
3f0662d51d -O0 -O1 should optimize alignment for time, not size. Moved from toplev.c. 2004-07-28 04:23:38 +00:00
kan
f245def18e Merge FreeBSD modifications into gcc 3.4.2-prelelease:
1.2  -fformat-extensions.

Remove r1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha) as obsolete.
Move r1.14 (-O0 -O1 optimize alignment for time, not size) to opts.c.
2004-07-28 04:20:36 +00:00
kan
4b94115c89 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.{2,15}      FREEBSD_NATIVE.
  1.21          "GCC_OPTIONS".
  1.{16,25,27}  Cross-compiling issues.
  1.38		Correct priority for GCC_EXEC_PREFIX.
2004-07-28 04:05:09 +00:00
kan
49c6fea32a Merge FreeBSD changes into GCC 3.4.2-prerelease.
1.19	Fix -mprofiler-epilogue on i386.
2004-07-28 04:01:01 +00:00
kan
8b917f2921 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2 -fformat-extensions.
  1.3 -printf0
  1.6 teach GCC about %y for DDB.
2004-07-28 03:57:21 +00:00
kan
fdee9111e6 Use stock version of this file.
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.
2004-07-28 03:53:20 +00:00
kan
c05611f5db Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2   framework for our kernel printf enhancements.
  1.3   suppress prototype warnings on K&R main.

Both flag variables declared here were disconnected through the 5-current
lifetime and are retained here for backwards compatibility reasons only.
2004-07-28 03:46:02 +00:00
kan
48ae142099 Merge FreeBSD changes into GCC 3.4.2-prerelease.
r1.18: Move FreeBSD specific flag variables from c-decl.c here.
2004-07-28 03:40:54 +00:00
kan
a8af68176b Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
kan
5e00ec74d8 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
kan
e0020c9fe3 This commit was generated by cvs2svn to compensate for changes in r132718,
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:11:36 +00:00
obrien
742a1468a7 Grrr. our rev 1.19 (FSF GCC rev 1.579) is causing some problems on 32-bit
systems.  So only use the rev 1.19 (FSF GCC rev 1.579) change on 64-bit
systems.
2004-06-19 20:40:00 +00:00
obrien
f9c5567642 Merge FSF GCC rev 1.579 change ((x86_output_mi_thunk): Don't pass MEM to
%P0, just SYMBOL_REF) into GCC 3.3.3.  This fixes the bad C++ thunks code
generation building Firefox on AMD64.

Submitted by:	Sean McNeil <sean@mcneil.com>
2004-06-19 07:29:04 +00:00
ache
c4743fe5fa Remove unneeded files 2004-02-17 03:22:35 +00:00
deischen
8eb1230107 Make gcc -pthread link to -lpthread instead of -lc_r. 2004-01-30 12:14:19 +00:00
bde
4c0ab24ab7 Quick fix for breakage of non-i386 arches in previous commit. Only
use TARGET_PROFILER_EPILOGUE if it is defined.
2004-01-06 10:38:48 +00:00
kan
3b9942df2e Fix -mprofiler-epilogue on i386. This should be extended to other
architectures in future.

Submitted by:	bde
2004-01-05 22:23:27 +00:00
kan
79bbe23c4a Remove files not part of GCC 3.3.x. 2004-01-05 20:27:51 +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
kan
8a33824d16 Use correct priority parameter value in add_prefix from corresponding
enum instead of passing literal 0. This fixes gcc invocations with
GCC_EXEC_PREFIX environment set.

Submitted By:	Geoff Morrison
PR:		gnu/53476
2003-11-13 22:40:05 +00:00
deischen
5563abd4bb Remove a comment stating that -pthread isn't supported. 2003-11-10 18:52:57 +00:00
kan
b78cfa5333 Drop r1.6 (warn_system_heders by default). Use stock version of
the file from now on.
2003-11-07 03:30:31 +00:00
kan
aba667dc74 Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size).

Back out r1.22 which used to enable warnings in system headers by
default.
2003-11-07 03:27:32 +00:00
kan
06a580baf7 Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues).
2003-11-07 03:23:43 +00:00
kan
b62edf39c3 Merge r1.3 (suppress warnings on K&R main). 2003-11-07 03:21:29 +00:00
kan
9e0d7f6582 New GCC version. 2003-11-07 03:19:35 +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
e8544b5a9c Merge r1.8 (printf format error fixes). 2003-11-07 03:13:51 +00:00
kan
6d5af2ef68 Drop the revision 1.2 (don't let gcc(1) hide warnings in system headers)
and use stock version of this file now.
2003-11-07 03:09:40 +00:00
kan
a084c35ceb No FreeBSD-local changes in these files. 2003-11-07 03:05:29 +00:00
kan
b09448931a Gcc 3.3.3 20031106. 2003-11-07 02:43:04 +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
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
5f7c06e920 Enable warn_system_heders by default. 2003-08-22 03:31:54 +00:00
kan
49a4324488 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2   don't let gcc(1) hide warnings in system headers.

Don't disable warning suppression unconditionally, but rather
make in dependent on warn_system_headers flag, one should be
able to use -Wno-system-headers flag if warnings from system
headers are not desired.
2003-08-22 03:26:30 +00:00
kan
f2372ee34a Merge FreeBSD modifications into gcc 3.3.1-release:
1.8   printf format error fixes.
2003-08-22 03:18:02 +00:00
kan
f219481718 Merge FreeBSD modifications into gcc 3.3.1-release:
1.2   Localize the version string.
2003-08-22 03:16:37 +00:00
kan
4b4244e098 Merge FreeBSD modifications into gcc 3.3.1-release:
1.3 suppress warnings on K&R main.
2003-08-22 03:14:37 +00:00