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
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
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
Alexander Kabaev
7b74929d74
Gcc 3.2.2-release.
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