Alexander Kabaev
2bc5055037
In FreeBSD -O0 -O1 optimize alignment for time, not size.
2007-05-19 02:22:16 +00:00
Alexander Kabaev
f48faea4fa
Merge local changes for -mprofiler-epilogue support.
2007-05-19 02:18:38 +00:00
Alexander Kabaev
2f68bca35b
Merge local FreeBSD changes to support -fformat-extensions.
2007-05-19 02:16:45 +00:00
Alexander Kabaev
e2f01f3f63
Add FreeBSD suffix to GCC version string.
2007-05-19 02:14:13 +00:00
Alexander Kabaev
9d6b9560a8
FreeBSD uses unchanged versions of this files.
2007-05-19 02:12:21 +00:00
Alexander Kabaev
6b834ef156
GCC 4.2.0 release.
2007-05-19 01:19:51 +00:00
Alexander Kabaev
533952614f
This commit was generated by cvs2svn to compensate for changes in r169689,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:19:51 +00:00
Bruce Evans
11e27303d3
Fixed -mprofiler-epilogue. The garbage collector apparently doesn't
...
understand that non-local variables can never be collected, and when
it collected the static variable for mexitcount_libfunc, gcc aborted
on the next use of this variable.
This quick fix is to reinitialize the variable on every use and depend
on garbage collection recovering the small amount of memory wasted by
this, and not worry by the small amount of time wasted by this. It
would be better to initialize the variable together with most of the
other libfuncs in optabs.c and depend on whatever magic is there to
prevent its collection, but we initialize it here to avoid taking at
least 2 more files off the vendor branch.
2006-10-25 07:29:22 +00:00
Ruslan Ermilov
f981f1923b
Removed these from HEAD as well.
2006-09-21 07:55:28 +00:00
Ruslan Ermilov
89de143f92
These files live in the doc/ subdir in later releases of GCC.
2006-09-21 07:54:02 +00:00
Ruslan Ermilov
5bb8cebbb4
This commit was generated by cvs2svn to compensate for changes in r162512,
...
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:54:02 +00:00
Ruslan Ermilov
932b1e2fe8
Updated manpages for 3.4.6 release.
...
OK'ed by: kan
Obtained from: gcc-3.4.6.tar.bz2
2006-09-21 07:45:37 +00:00
Ruslan Ermilov
83cc3b492f
This commit was generated by cvs2svn to compensate for changes in r162509,
...
which included commits to RCS files with non-trunk default branches.
2006-09-21 07:45:37 +00:00
Alexander Kabaev
f2d5255ddd
Resolve conflicts after GCC 3.4.6 20060825 import.
2006-08-26 21:37:21 +00:00
Alexander Kabaev
e35cf0a56c
Gcc 3.4.6 as of 2006/08/25 #116475 .
2006-08-26 21:29:10 +00:00
Alexander Kabaev
35cc3dc5ba
This commit was generated by cvs2svn to compensate for changes in r161651,
...
which included commits to RCS files with non-trunk default branches.
2006-08-26 21:29:10 +00:00
David E. O'Brien
a1cfcf9970
Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
...
easier to keep them in sync.
2005-10-30 19:04:47 +00:00
David E. O'Brien
67ae096798
Catch up with FreeBSD 7.
2005-10-29 09:13:31 +00:00
Craig Rodrigues
5dbed42856
Submitted following patch to FSF GCC:
...
* freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
Use builtin_define_with_int_value() instead of
adding a new check for every new major FreeBSD version.
Motivated by: simon
Discussed with: obrien, kan
2005-10-27 23:57:55 +00:00
David E. O'Brien
d109621656
Fix bug where static forward declarations weren't accepted.
...
This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C.
Submitted by: rodrigc
Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html
2005-09-07 09:23:39 +00:00
David E. O'Brien
8d85d711c3
Fix bug where GCC thought athlon-tbird had SSE support.
2005-07-19 21:53:22 +00:00
Scott Long
98e104cbc9
Patch the freebsd spec file for PowerPC so that PIC code builds correctly.
...
This allows FreeBSD/PPC to build and run out of stock CVS sources. This
also takes the file off of the vendor branch.
Submitted by: kan, grehan
Approved by: re, kan
2005-07-07 21:40:37 +00:00
Alexander Kabaev
b297022008
Enable handling of MS-compatible packing push and pop pragmas. This change was
...
inadvertedly left out of the last import.
2005-06-03 17:35:13 +00:00
Alexander Kabaev
441d901f19
Fix a typo from previos commit.
2005-06-03 05:58:56 +00:00
Alexander Kabaev
65bbb3030a
Catch up with changes in BDX_OUTPUT_[LR]BRAC callers.
2005-06-03 04:19:23 +00:00
Alexander Kabaev
c3cbf7fdb9
Merge conflicts for GCC 3.4.4.
2005-06-03 04:02:20 +00:00
Alexander Kabaev
d14a001770
Localize GCC version string for FreeBSD.
2005-06-03 03:52:25 +00:00
Alexander Kabaev
31a119f3ed
Stock files.
2005-06-03 03:50:42 +00:00
Alexander Kabaev
d51085f37e
Gcc 3.4.4 release.
2005-06-03 03:28:44 +00:00
Alexander Kabaev
4101e78861
This commit was generated by cvs2svn to compensate for changes in r146895,
...
which included commits to RCS files with non-trunk default branches.
2005-06-03 03:28:44 +00:00
David E. O'Brien
337c1d7b9b
Break lines at sentence ends, etc...
2004-11-11 07:50:09 +00:00
David E. O'Brien
fb89b41ce4
Don't attempt to claim what version of GCC we're documenting. The manpage
...
is still mostly the GCC 2.95 one, with faint attempts by me over the years
to document a few new switches. Thus, it is dubious to claim documentation
of specific modern GCC versions.
Noted by: delphij
2004-11-11 07:45:01 +00:00
Alexander Kabaev
1689e31de6
Import a patch from GCC PR c/16999 to stop quoting already quoted ident
...
strings.
2004-10-15 03:22:13 +00:00
Alexander Kabaev
f75a5631b8
This commit was generated by cvs2svn to compensate for changes in r136527,
...
which included commits to RCS files with non-trunk default branches.
2004-10-15 03:22:13 +00:00
David E. O'Brien
b4e8286b3b
Enter the long awaited start of FreeBSD 6.0!
2004-08-21 03:58:39 +00:00
Alexander Kabaev
292f200484
Remove files that are not part of GCC 3.4.x from the vendor branch.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
6d3e93598f
This commit was generated by cvs2svn to compensate for changes in r133582,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 16:41:42 +00:00
Alexander Kabaev
025ee8b5ee
Import one more file for Gcc 3.4.2 20040728.
2004-08-12 02:21:58 +00:00
Alexander Kabaev
db20bc12fe
This commit was generated by cvs2svn to compensate for changes in r133534,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 02:21:58 +00:00
Alexander Kabaev
dfa9c64b20
Remove obsolete ASM_FINAL_SPEC definition.
...
Reported by: green
2004-07-29 21:49:34 +00:00
Alexander Kabaev
e4d548aae3
Allow GCC to recognize -fformat-extensions flag.
2004-07-29 02:04:58 +00:00
Alexander Kabaev
e46f2ea2ce
Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
...
GCC 3.4.3-prerelease sources.
2004-07-28 05:08:31 +00:00
Alexander Kabaev
10e9ba0b8b
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Printf format errors fixes.
2004-07-28 05:06:59 +00:00
Alexander Kabaev
110ff012a5
Use stock version of this file now.
2004-07-28 05:03:19 +00:00
Alexander Kabaev
eba800a0ec
Update sparc64 MD bits to GCC 3.4.2-prerelease.
2004-07-28 05:00:13 +00:00
Alexander Kabaev
b76a1e10e7
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
Alexander Kabaev
85336dcfdf
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
...
overridable from the command line).
2004-07-28 04:49:58 +00:00
Alexander Kabaev
c4471ac9b4
Merge r1.11 (-mno-align-long-strings).
2004-07-28 04:47:35 +00:00
Alexander Kabaev
025f702c81
Update Amd64 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:44:23 +00:00
Alexander Kabaev
fed81232e9
Update i386 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:41:42 +00:00
Alexander Kabaev
cd778f4053
Update Alpha config MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:39:15 +00:00
Alexander Kabaev
7217bc1ccb
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.8 Change symbol values to match freebsd.h.
2004-07-28 04:35:51 +00:00
Alexander Kabaev
9e7f3a944a
Update MI config bits for GCC 3.4.2-prerelease.
2004-07-28 04:34:05 +00:00
Alexander Kabaev
4fc9ee4449
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
Alexander Kabaev
6a664e83d1
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
...
1.2 Localize the version string.
2004-07-28 04:27:06 +00:00
Alexander Kabaev
c123cd5f1d
-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.
2004-07-28 04:23:38 +00:00
Alexander Kabaev
d483803cd9
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
Alexander Kabaev
4babd86df3
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
Alexander Kabaev
8e87f3b2bd
Merge FreeBSD changes into GCC 3.4.2-prerelease.
...
1.19 Fix -mprofiler-epilogue on i386.
2004-07-28 04:01:01 +00:00
Alexander Kabaev
38f88cafa3
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
Alexander Kabaev
7073af4071
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
Alexander Kabaev
42eb4c1088
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
Alexander Kabaev
48b98bbb98
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
Alexander Kabaev
f246de45e2
Use stock GCC versions on these files.
2004-07-28 03:36:15 +00:00
Alexander Kabaev
9a63ad9273
Gcc 3.4.2 20040728.
2004-07-28 03:11:36 +00:00
Alexander Kabaev
4609cf73ba
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
David E. O'Brien
255eea9a74
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
David E. O'Brien
a3bfe8fd89
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
Andrey A. Chernov
518818386c
Remove unneeded files
2004-02-17 03:22:35 +00:00
Daniel Eischen
f24e6a4f39
Make gcc -pthread link to -lpthread instead of -lc_r.
2004-01-30 12:14:19 +00:00
Bruce Evans
a36805bd93
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
Alexander Kabaev
973e839bed
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
Alexander Kabaev
0fb0a43f46
Remove files not part of GCC 3.3.x.
2004-01-05 20:27:51 +00:00
Alexander Kabaev
8412b382ed
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
Alexander Kabaev
6c9999e01d
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
David E. O'Brien
2572485481
One might want to correctly generate 32-bit code on an Opteron.
...
Submitted by: peter
2003-12-16 05:40:06 +00:00
David E. O'Brien
6778cdfd3f
Consistently define __LP64__ on all our 64-bit platforms.
2003-12-15 10:34:01 +00:00
Alexander Kabaev
57ec9907bc
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
Daniel Eischen
cd902b7719
Remove a comment stating that -pthread isn't supported.
2003-11-10 18:52:57 +00:00
Alexander Kabaev
148e0bd79e
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
Alexander Kabaev
4ff5474ba8
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
Alexander Kabaev
b4b53e1576
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
Alexander Kabaev
0ebd98fb58
Merge r1.3 (suppress warnings on K&R main).
2003-11-07 03:21:29 +00:00
Alexander Kabaev
78bcdb61f6
New GCC version.
2003-11-07 03:19:35 +00:00
Alexander Kabaev
7c755eb0ac
Merge r1.11 (-mno-align-long-strings).
2003-11-07 03:17:46 +00:00
Alexander Kabaev
e52bc8a3d6
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
Alexander Kabaev
31cc83e1e5
Merge r1.8 (printf format error fixes).
2003-11-07 03:13:51 +00:00
Alexander Kabaev
e9c9d25f92
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
Alexander Kabaev
3697be5590
No FreeBSD-local changes in these files.
2003-11-07 03:05:29 +00:00
Alexander Kabaev
ea875f6efe
Gcc 3.3.3 20031106.
2003-11-07 02:43:04 +00:00
Alexander Kabaev
26b1f5924a
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
Daniel Eischen
0fa21a585c
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
David E. O'Brien
b62fd55fde
Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes.
2003-09-12 19:19:10 +00:00
Daniel Eischen
7231b5a661
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
Daniel Eischen
ee6e0476d2
Backout rev 1.10.
...
Requested by: obrien
2003-09-01 05:31:33 +00:00
Daniel Eischen
d489dec95c
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
David E. O'Brien
1bbeaa6437
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
Alexander Kabaev
b82f80cdc5
Enable warn_system_heders by default.
2003-08-22 03:31:54 +00:00
Alexander Kabaev
7a4310c825
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
Alexander Kabaev
6ff1e7b00d
Merge FreeBSD modifications into gcc 3.3.1-release:
...
1.8 printf format error fixes.
2003-08-22 03:18:02 +00:00
Alexander Kabaev
d3a52ac3e0
Merge FreeBSD modifications into gcc 3.3.1-release:
...
1.2 Localize the version string.
2003-08-22 03:16:37 +00:00
Alexander Kabaev
63cde6278d
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
Alexander Kabaev
5f020c09b4
Merge FreeBSD modifications into gcc 3.3.1-release:
...
1.2 -fformat-extensions.
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
1.14 -O0 -O1 optimize alignment for time, not size.
2003-08-22 03:13:20 +00:00
Alexander Kabaev
d586a2745c
Stock files.
2003-08-22 03:10:47 +00:00
Alexander Kabaev
50ebf00d84
Gcc 3.3.1-release.
2003-08-22 02:56:07 +00:00
Alexander Kabaev
eae42ca5bc
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 Tetlow
29bd4869a1
Tell the toolchain to look for rtld in /libexec instead of /usr/libexec.
2003-08-17 08:17:44 +00:00
David E. O'Brien
fda6f0c4a1
This file became OBE when we went to GCC 3.
2003-07-17 17:15:22 +00:00
Alexander Kabaev
e329c5e19f
Do not override FP rounding options for 32bit platforms. amd64 doesn't
...
need this.
2003-07-12 19:33:34 +00:00
Alexander Kabaev
46b370ef71
Merge FreeBSD changes into GCC 3.3.1-prerelease.
...
Move FreeBSD specific flag variables from c-decl.c here.
2003-07-11 06:00:50 +00:00
Alexander Kabaev
22bf82941c
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.2 -fformat-extensions.
1.3 -printf0
1.6 teach GCC about %y for DDB.
2003-07-11 05:12:46 +00:00
Alexander Kabaev
fff64a6e53
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.3 suppress warnings on K&R main.
Rev. 1.2 (options for kernel printf enhancements) changes have been
moved to another
2003-07-11 05:11:14 +00:00
Alexander Kabaev
06432e3a6a
Update for GCC 3.3.1-prerelease.
2003-07-11 05:09:19 +00:00
Alexander Kabaev
bec4705400
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
Alexander Kabaev
e815c3de60
Update for 3.3.1-prerelease.
2003-07-11 05:03:47 +00:00
Alexander Kabaev
aaa8c4b302
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
Alexander Kabaev
31653fae42
Use stock version of this file now.
2003-07-11 04:52:32 +00:00
Alexander Kabaev
0f50cc1930
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.2 don't let gcc(1) hide warnings in system headers.
2003-07-11 04:49:30 +00:00
Alexander Kabaev
d5a10d25d8
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.2 -fformat-extensions.
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
1.14 -O0 -O1 optimize alignment for time, not size.
2003-07-11 04:48:05 +00:00
Alexander Kabaev
cf9a9a701d
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.{2,15} FREEBSD_NATIVE.
1.21 "GCC_OPTIONS".
1.{16,25,27} Cross-compiling issues.
2003-07-11 04:45:39 +00:00
Alexander Kabaev
b8edac44d5
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
Alexander Kabaev
38ce1a2479
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.2 Localize the version string.
2003-07-11 04:37:16 +00:00
Alexander Kabaev
a4f4ed1ee5
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.8 printf format error fixes.
2003-07-11 04:34:52 +00:00
Alexander Kabaev
4b47e8ff24
Merge FreeBSD changes into GCC 3.3.1-prerelease:
...
1.2 Printf format errors fixes.
2003-07-11 04:32:20 +00:00
Alexander Kabaev
600d347e40
Merge FreeBSD modifications into gcc 3.3.1-prerelease:
...
1.11 -mno-align-long-strings.
2003-07-11 04:29:35 +00:00
Alexander Kabaev
27998756bd
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
Alexander Kabaev
43bab0e092
Merge FreeBSD modifications into gcc 3.3.1-pre:
...
1.2 framework for our kernel printf enhancements.
1.3 suppress prototype warnings on K&R main.
2003-07-11 04:24:59 +00:00
Alexander Kabaev
df07a219a0
Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.3.1-pre
...
sources.
2003-07-11 04:03:28 +00:00
Alexander Kabaev
b2bcf6753d
FreeBSD uses stock versions of these GCC files.
2003-07-11 04:00:23 +00:00
Alexander Kabaev
bd0df3aa27
Gcc 3.3.1-pre as of 2003-07-11.
2003-07-11 03:40:53 +00:00
Alexander Kabaev
46c315278f
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
David E. O'Brien
952d62c73c
Remove bit about _THREAD_SAFE. deischen committed a change to stdio.h
...
that totally removed _THREAD_SAFE.
PR: 36167
Submitted by: gerald
2003-06-25 16:12:05 +00:00
David E. O'Brien
f8f4e47610
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
David E. O'Brien
a12d8aed9a
We're changing the platform name from x86[_-]86 to amd64.
2003-04-26 20:04:38 +00:00
David E. O'Brien
1143283a26
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
David E. O'Brien
9ad1907230
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
Alexander Kabaev
f6a013dc14
Teach gcc how to put unitialized data into BSS on FreeBSD.
2003-04-13 01:04:01 +00:00
Alexander Kabaev
fabd8bcd49
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
Alexander Kabaev
0c0bdf85fa
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
Alexander Kabaev
42194a8171
Merge FreeBSD modifications into gcc 3.2.2 release:
...
1.8 printf format error fixes.
2003-02-10 06:07:12 +00:00
Alexander Kabaev
a81f4c40b7
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
Alexander Kabaev
c66fff0155
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
Alexander Kabaev
6d114ccf45
Update for Gcc 3.2.2 release.
2003-02-10 06:03:47 +00:00
Alexander Kabaev
6f20e984fc
Merge FreeBSD modifications into gcc 3.2.2 release:
...
1.{2,15} FREEBSD_NATIVE.
1.21 "GCC_OPTIONS".
1.{16,25,27} Cross-compiling issues.
2003-02-10 06:03:16 +00:00
Alexander Kabaev
42f979319e
Merge FreeBSD modifications into gcc 3.2.2 release:
...
1.2 -fformat-extensions.
1.3 -printf0
1.6 Teach GCC about %y for DDB and implement
support for the C99 %z format modifier.
2003-02-10 06:00:24 +00:00
Alexander Kabaev
10a72f72d8
Merge FreeBSD modifications into gcc 3.2.2 release:
...
1.2 kernel printf enhancements framework.
1.3 suppress prototype warnings on K&R main.
2003-02-10 05:59:19 +00:00
Alexander Kabaev
76c39e5f7b
Merge FreeBSD modifications into gcc 3.2.2 release:
...
1.2 framework for our kernel printf enhancements.
1.3 suppress prototype warnings on K&R main.
2003-02-10 05:58:19 +00:00
Alexander Kabaev
d79e61dc75
Update HEAD with stock GCC 3.2.2 release files.
2003-02-10 05:57:03 +00:00
Alexander Kabaev
7b74929d74
Gcc 3.2.2-release.
2003-02-10 05:41:50 +00:00
Alexander Kabaev
72983f38e1
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
Warner Losh
e4c33f456e
-kthread has been dead these many years. This PR has languished for a
...
long time. Go ahead and commit the patch since a co-worker has been
working up a code patch in this area and wondered why it hasn't been
committed yet.
PR: 35800
2003-02-01 18:39:32 +00:00
David E. O'Brien
8c5f736449
main() changed its argv declaration, so follow suit in some FBSD added code.
2003-01-29 05:16:58 +00:00
Alexander Kabaev
9361856c8a
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
David E. O'Brien
ca894c66e0
_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
David E. O'Brien
b7623b4aba
I really hate the GCC directory structure of gcc/gcc/gcc/<compiler files>
2002-12-04 21:31:04 +00:00
David E. O'Brien
4f471064d9
Update HEAD with FSF branch 3.2.1 release files.
2002-12-04 16:35:55 +00:00
David E. O'Brien
21da7e2bd7
Use pure stock files.
2002-12-04 16:31:48 +00:00
David E. O'Brien
a83e5e4149
Merge rev 1.8 (printf format error fixes) into Gcc 3.2.1 release.
2002-12-04 16:13:54 +00:00
David E. O'Brien
d4053aa61b
Gperf is usable again. We don't need this.
2002-12-04 16:13:07 +00:00
David E. O'Brien
2d858acd9b
Fix typo to sync with FSF sources.
2002-12-04 16:09:42 +00:00
David E. O'Brien
df53d8649e
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
David E. O'Brien
c8bf144918
Merge rev 1.11 (-mno-align-long-strings) into Gcc 3.2.1 release.
2002-12-04 16:04:26 +00:00
David E. O'Brien
4172a45f81
Update for Gcc 3.2.1 release.
2002-12-04 16:01:15 +00:00
David E. O'Brien
991cc708ac
Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
...
1.14 (-O/-O1 optimize alignment for time, not size) into Gcc 3.2.1 release.
2002-12-04 15:59:56 +00:00
David E. O'Brien
8648049b51
Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
...
(cross compiling issues) into GCC 3.2.1 release.
Note revs 1.{5,13} (ELF and objformat support) are OBE with the a.out dike-out.
2002-12-04 15:57:11 +00:00
David E. O'Brien
cc30d3f890
Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)
...
into Gcc 3.2.1 release.
2002-12-04 15:48:26 +00:00
David E. O'Brien
45fc31f8dd
Gcc 3.2.1 release virgin vendor import. (19-Nov-2002)
2002-12-04 15:42:16 +00:00
David E. O'Brien
908ab21d03
This commit was generated by cvs2svn to compensate for changes in r107590,
...
which included commits to RCS files with non-trunk default branches.
2002-12-04 15:42:16 +00:00
David E. O'Brien
90cbf5083e
Gcc 3.2.1 release virgin vendor import. (19-Nov-2002)
2002-12-04 15:15:07 +00:00
David E. O'Brien
2ea5c3f540
This commit was generated by cvs2svn to compensate for changes in r107588,
...
which included commits to RCS files with non-trunk default branches.
2002-12-04 15:15:07 +00:00
David E. O'Brien
7ec589a9b7
Add spaces around FBSD_ENDFILE_SPEC as it is used in string concatenation.
...
Approved by: re(bmah)
2002-12-03 04:31:19 +00:00
David E. O'Brien
14cb1d2267
Update the version number.
...
Approved by: bmah, jhb, murray (independently)
2002-11-27 03:36:49 +00:00
David E. O'Brien
f685377c2e
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
2002-11-26 18:25:20 +00:00
David E. O'Brien
81ac040a36
Sync with the stock FSF 3.2 file. This adds TRANSFER_FROM_TRAMPOLINE,
...
which is needed in order for nexted C functions to work.
2002-11-05 03:35:56 +00:00
Maxime Henrion
4578a2e652
- Rename the DDB specific %z printf format to %y.
...
- Make DDB use %y instead of %z.
- Teach GCC about %y.
- Implement support for the C99 %z format modifier.
Approved by: re@
Reviewed by: peter
Tested on: i386, sparc64
2002-10-25 19:41:32 +00:00
David E. O'Brien
be70d88803
ELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf.
2002-10-12 01:39:46 +00:00
Alexander Kabaev
ecbe618435
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.8 printf format error fixes
Approved by: obrien
2002-10-10 04:53:46 +00:00
Alexander Kabaev
e4ec156dda
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.10 -mno-align-long-strings
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.
Approved by: obrien
2002-10-10 04:53:15 +00:00
Alexander Kabaev
559be21b12
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.11 -mno-align-long-strings
Approved by: obrien
2002-10-10 04:52:41 +00:00
Alexander Kabaev
8aa7a77c78
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 Localize the version number
Approved by: obrien
2002-10-10 04:52:03 +00:00
Alexander Kabaev
e43930a27b
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 -fformat-extensions
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha
1.14 -O0 -O1 should optimize alignment for time, not size
Approved by: obrien
2002-10-10 04:51:11 +00:00
Alexander Kabaev
c2f7e7c4f8
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-10-10 04:50:29 +00:00
Alexander Kabaev
2a4b2c4b2e
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.\\{2,15\\} FREEBSD_NATIVE
1.\\{5,13\\} ELF, and objformat support
1.\\{16,23,25\\} Better cross building control
1.21 'GCC_OPTIONS'
1.27 cross-arch MD_EXEC_PREFIX fixes
cc -print-search-dir fixes
1.28 Read specs from /usr/libdata/gcc/specs, if available
Approved by: obrien
2002-10-10 04:49:03 +00:00
Alexander Kabaev
d533a055b5
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 kernel printf enchancements framework
Approved by: obrien
2002-10-10 04:47:27 +00:00
Alexander Kabaev
819fe3892d
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
2002-10-10 04:46:44 +00:00
Alexander Kabaev
423134a002
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST.
2002-10-10 04:40:18 +00:00
Alexander Kabaev
0cd8fdc382
This commit was generated by cvs2svn to compensate for changes in r104752,
...
which included commits to RCS files with non-trunk default branches.
2002-10-10 04:40:18 +00:00
David E. O'Brien
04a42d5ee0
Turn off the "-O2 flag TRIGGERS KNOWN OPTIMIZER BUGS" warning.
...
From current testsuite results, the optimizer bugs don't appear to exist
anymore. RTH@cygnus.com did a lot of work on the Alpha ELF code generator
for GCC 3.2[.0]. A recent FreeBSD/AXP GCC bootstrap is at
http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00604.html
In this bootstraps, all gcc libraries are built with -O2 and c-torture
gives -O2 a real workout. None of the remaining failures have anything
to do with -O2 optimizer bugs.
Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
2002-09-22 07:26:38 +00:00
Alexander Kabaev
f92e37bda1
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.8 printf format error fixes
Approved by: obrien
2002-09-17 04:16:58 +00:00
Alexander Kabaev
acfad454a6
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 Localize the version number
Approved by: obrien
2002-09-17 04:15:43 +00:00
Alexander Kabaev
f40fb3f3fd
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-17 04:14:38 +00:00
Alexander Kabaev
b8bb8eab99
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 framework for our kernel printf enhancements
1.3 suppress prototype warning for K&R main
Approved by: obrien
2002-09-17 04:10:25 +00:00
Alexander Kabaev
acabf91c96
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
2002-09-17 04:03:37 +00:00
Alexander Kabaev
2e88fa161b
This commit was generated by cvs2svn to compensate for changes in r103445,
...
which included commits to RCS files with non-trunk default branches.
2002-09-17 04:03:37 +00:00
David E. O'Brien
3b812710d0
Emacs decides between v8 and v9 based on "__arch64__". So define it.
...
Desired by: tmm
2002-09-12 17:19:09 +00:00
David E. O'Brien
4d90773dea
Remove some debugging cruft I accidently committed with rev 1.4.
2002-09-12 16:10:21 +00:00
David E. O'Brien
b9cab93186
Try to detect support for the `long long' type so that ANSI-C[89] clean
...
code will know not to try to use `long long'.
Unfortunately the GCC spec parser will not allow us to properly detect the
"iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments,
because of the ':' in the -std argument. :-( I have left them in the spec
as a place holder in hopes someone knows a way to make the detection of
them work.
Desired by: wollman
2002-09-12 16:05:56 +00:00
David E. O'Brien
04d8170094
Bump __FreeBSD_cc_version for gcc 3.1-prerelease -> 3.2.1-snap upgrade.
2002-09-09 06:56:29 +00:00
Alexander Kabaev
6a10d74be1
Revert rev. 1.2. GCC 3.2 seems to have builtin_memset fixed.
...
Approved by: obrien
2002-09-01 21:18:18 +00:00
Alexander Kabaev
7055348d02
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.8 printf format error fixes
Approved by: obrien
2002-09-01 21:16:14 +00:00
Alexander Kabaev
ed7ada7c10
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-01 21:13:32 +00:00
Alexander Kabaev
b00eee8d85
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.10 -mno-align-long-strings
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.
Approved by: obrien
2002-09-01 21:12:30 +00:00
Alexander Kabaev
7d6e8a6ad0
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.11 -mno-align-long-strings
Approved by: obrien
2002-09-01 21:11:35 +00:00
Alexander Kabaev
35d17d433c
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.8 Change symbol values to match freebsd.h
Approved by: obrien
2002-09-01 21:09:26 +00:00
Alexander Kabaev
2556bafc14
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-01 21:08:29 +00:00
Alexander Kabaev
4dccc39462
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 Localize the version number
Approved by: obrien
2002-09-01 21:07:09 +00:00
Alexander Kabaev
f2f9e41da3
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 -fformat-extensions
1.7 optimization downgrade
1.14 -O0 -O1 should optimize alignment for time, not size
Approved by: obrien
2002-09-01 21:06:42 +00:00
Alexander Kabaev
a8a3b181ed
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.\{2,15\} FREEBSD_NATIVE
1.\{5,13\} ELF, and objformat support
1.\{16,23,25\} Better cross building control
1.21 'GCC_OPTIONS'
1.27 cross-arch MD_EXEC_PREFIX fixes
cc -print-search-dir fixes
1.28 Read specs from /usr/libdata/gcc/specs,
if available
Approved by: obrien
2002-09-01 21:03:33 +00:00
Alexander Kabaev
ec748e0ef8
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 a.out support
Approved by: obrien
2002-09-01 21:02:41 +00:00
Alexander Kabaev
e243da3452
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 do not create paradoxical FLOAT_MODE subregs
I am not sure if this is still required.
Approved by: obrien
2002-09-01 21:01:12 +00:00
Alexander Kabaev
accb351070
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 kernel printf enchancements framework
Approved by: obrien
2002-09-01 20:57:33 +00:00
Alexander Kabaev
4e9f9a848d
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 don't let gcc(1) hide warnings in system headers.
Approved by: obrien
2002-09-01 20:56:10 +00:00
Alexander Kabaev
449bacd8c3
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
2002-09-01 20:53:28 +00:00
Alexander Kabaev
f3575d94a6
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-01 20:49:59 +00:00
Alexander Kabaev
bb3c979bf5
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
2002-09-01 20:38:57 +00:00
Alexander Kabaev
6be6d6640a
This commit was generated by cvs2svn to compensate for changes in r102780,
...
which included commits to RCS files with non-trunk default branches.
2002-09-01 20:38:57 +00:00
Ruslan Ermilov
26e1070b8b
Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers.
...
Reviewed by: bde
Original 2.95 change was subject to:
Approved by: obrien
2002-08-15 08:45:49 +00:00
David E. O'Brien
83728effa9
Fix C++ exception handling. GCC was using the older BSD DBX register numbers
...
rather than the ELF ABI/SVR4 ones in its DWARF unwinding.
Submitted by: Alexander Kabaev <ak03@gte.com>
2002-07-12 17:44:24 +00:00
David E. O'Brien
d08a3fc2bc
When I decided to use a stock dbxout.c rather than merge the rev 1.2 change
...
(put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables), I failed to remove the related knobs here.
Effectively were overrode the ELF-wide definition in elfos.h w/o providing
new infrastructure. This is what caused GDB to fail to debug applications
compiled and linked with -stabs. This is because GCC was unconditionally
inserts .stabs instruction for functions after the function body. GDB was
getting confused because what it thinks is function beginning address is
actually function ending address.
Submitted by: Alexander Kabaev <ak03@gte.com>
2002-07-12 17:35:35 +00:00
David E. O'Brien
568fc330a7
Yep, revision 1.3 was 1/2assed.
...
This time use the right attribute for null_format_ok.
Submitted by: bde
2002-07-12 00:49:52 +00:00
David E. O'Brien
fffe57845a
Allow XFree86-4 to build
...
by not creating paradoxical FLOAT_MODE subregs.
Tested by: se
Obtained from: http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html
2002-07-03 23:35:06 +00:00
David E. O'Brien
6c8ce4b3c7
Tweaks to make these files live beside our hacked config.
2002-06-21 22:54:24 +00:00
David E. O'Brien
d9adce40ed
Tweaks for the 64-bit compiler.
2002-06-21 22:53:03 +00:00
David E. O'Brien
4396d0e99f
cc -O0 and -O1 didn't do the easy optimization of alignment for space.
...
Instead it attempted to do the easy optimization of alignment for time,
which should be to 1-byte alignment on i386's.
Submitted by: bde
2002-06-21 18:21:30 +00:00
David E. O'Brien
9fc5b9d958
BDE prefers this organization.
...
Submitted by: bde
2002-06-21 18:11:22 +00:00
David E. O'Brien
85441ab5f2
cvs -j -j gave me two copies of TARGET_VERSION and I didn't notice
...
it before committing.
2002-06-10 15:48:23 +00:00
David E. O'Brien
60f9b09d26
Allow one to profile FORTRAN77 programs.
2002-06-09 00:03:56 +00:00
David E. O'Brien
4467cfa4b4
Match the DBX_OUTPUT_MAIN_SOURCE_FILE_END definition in dbxelf.h.
...
Bug found by: bde
2002-06-06 18:00:58 +00:00
David E. O'Brien
0d68a433ae
Allow the specification of LONG_TYPE_SIZE on the command line.
...
Submitted by: bde
2002-06-06 03:39:03 +00:00
David E. O'Brien
670fd7ad58
Implement "-mno-align-long-strings" which prevents pessimization of strings
...
for space. -Os could do this, but it was easy to hack an MD version.
This saves a whole 32 bytes in boot2, so I think it is worth using it.
(keep how much worse gcc 3.2 will compile boot2...)
Submitted by: bde (minus gcc 3.2 commentary)
2002-06-06 03:36:32 +00:00
David E. O'Brien
a56822dd07
Didn't get them all in revision 1.50.
2002-06-06 03:30:40 +00:00
David E. O'Brien
c48e5a6b24
Fix excessive alignment for the aout case, and unbreak genassym for that case.
...
Our aout linker has alignment hacks and doesn't need gcc to do anything special.
Tested for a year by: bde :-)
2002-06-06 03:28:49 +00:00
David E. O'Brien
3c3942fcfc
Tidy do-while.
...
Requested by: bde
2002-06-06 03:26:36 +00:00
David E. O'Brien
74d3af89ef
Read specs from /usr/libdata/gcc/specs if it exists.
2002-06-06 00:49:58 +00:00
David E. O'Brien
3a77dcde47
The brokenness in ix86_expand_clrstr is quite visible when you
...
compare the function with ix86_expand_movstr.
Submitted by: Tor Egge
2002-06-04 18:06:12 +00:00
David E. O'Brien
ec9ec8af6a
Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
...
This broke newfs (newfs left some garbage in a bitmap).
The ASM for:
#include <string.h>
int x, foo[100];
main()
{
memset(&foo[0], 0, x);
}
is (at least if you have fixed function alignment):
.file "z.c"
.text
.p2align 2,,3
.globl main
.type main,@function
main:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %eax
movl x, %ecx
xorl %eax, %eax
shrl $2, %ecx
movl $foo, %edi
cld
rep
stosl
andl $-16, %esp
<-- the lower bits of `len' should be loaded
near here
testl $2, %edi <-- this seems to be meant to test the 2^1
bit in `len' (not alignment of the pointer
like it actually does). %edi is the wrong
register for holding the bits, since it is
still needed for the pointer.
je .L2
stosw
.L2:
testl $1, %edi <-- similarly for the 2^0 bit.
je .L3
stosb
.L3:
movl -4(%ebp), %edi
leave
ret
.Lfe1:
.size main,.Lfe1-main
.comm foo,400,32
.comm x,4,4
.ident "GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"
This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned. If %edi could be misaligned, then too many bytes would be set.
Submitted by: BDE
2002-06-04 18:04:27 +00:00
David E. O'Brien
e07ec61d37
Seems we are not ready for revision 1.8.
2002-05-30 06:04:14 +00:00
David E. O'Brien
69eafeae74
Make our default predefines ANSI clean.
2002-05-30 00:58:35 +00:00
David E. O'Brien
79a702e6f3
The special checks for %b and %D in rev 1.1 were done before skipping over
...
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.
Submitted by: bde
2002-05-26 16:04:37 +00:00
David E. O'Brien
dcbd867c36
1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
...
and 1.3 (printf0) for GCC 3.1.
2002-05-22 16:37:09 +00:00
cvs2svn
dd49f05638
This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'.
2002-05-17 19:47:49 +00:00
David E. O'Brien
424cbfd989
the processed hash file
2002-05-17 19:47:48 +00:00
Ruslan Ermilov
35abacef2a
MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
...
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.
Draft reviewed by: obrien
2002-05-16 15:22:58 +00:00
David E. O'Brien
4e3e26a2ed
Merge c-common.c rev 1.10 into GCC 3.1
...
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.
Submitted by: ache
2002-05-14 01:53:53 +00:00
David E. O'Brien
8a75a69eaf
If you want to not warn on K&R main(); this is how it should be implemented.
2002-05-14 01:44:02 +00:00
David E. O'Brien
a353d6a0f1
Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1.
2002-05-14 00:33:44 +00:00
David E. O'Brien
2e0c661e02
Add framework for our kernel printf enhancements.
2002-05-14 00:30:25 +00:00
David E. O'Brien
f4603a02f9
Remove files not part of GCC 3.1.
2002-05-12 21:50:48 +00:00
David E. O'Brien
f0ab1657e0
do-while ASM_OUTPUT_ALIGN to enable its use in more places.
2002-05-12 17:31:12 +00:00
David E. O'Brien
79c021244b
Fixes for building a.out bits.
...
Submitted by: bde
2002-05-12 12:01:12 +00:00