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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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