David E. O'Brien
f3fe9ba024
Merge in fixes from the GCC anoncvs tree.
2000-01-22 16:05:33 +00:00
David E. O'Brien
f402e7674c
Merge in the restore pic register fix from the vendor branch.
...
PR: 3441
Submitted by: Mark Diekhans <markd@Grizzly.COM>
2000-01-22 16:04:30 +00:00
David E. O'Brien
cbab320528
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
...
branch on Jan 20th, 2000.
2000-01-22 02:59:08 +00:00
David E. O'Brien
aaaa7e3448
This commit was generated by cvs2svn to compensate for changes in r56385,
...
which included commits to RCS files with non-trunk default branches.
2000-01-22 02:59:08 +00:00
David E. O'Brien
8107fa79b5
Virgin import of the GCC 2.95.2 compilers
2000-01-17 12:16:41 +00:00
David E. O'Brien
0274b6ee0d
This commit was generated by cvs2svn to compensate for changes in r56173,
...
which included commits to RCS files with non-trunk default branches.
2000-01-17 12:16:41 +00:00
David E. O'Brien
253745e1fc
Allow the specification of a prefix for gcc to find all the various bits.
...
If one wishes to anchor the compiler toolchain tree somewhere other than /,
all one needs to do is set "TOOLS_PREFIX" to a different rooting.
Submitted by: marcel (in a different format and reworked by me)
1999-12-29 14:42:46 +00:00
David E. O'Brien
a3d6eca585
Reduce the FreeBSD custom hacks to gcc.c by using the GCC provided methods
...
of changing the search dirs. This also removes an used search dir,
removes unneeded redundancy, and a bugus dir we enherited on the i386
by baseing off of svr4.h.
We went from:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/:/usr/bin/:/usr/libexec/
libraries: /usr/libdata/gcc/:/usr/libexec/:/usr/ccs/lib/:/usr/lib/
to:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/
libraries: /usr/libexec/:/usr/lib/
1999-12-22 05:00:28 +00:00
David E. O'Brien
68567ff127
Use symbolic values rather than constants in TARGET_DEFAULT.
...
Submitted by: bde on -current
1999-12-19 07:40:17 +00:00
David E. O'Brien
ad586591ec
Use a unified CPP_SPEC.
1999-12-19 06:42:24 +00:00
David E. O'Brien
7849745722
Provide complete coverage in switch statement to quiet -Wall.
1999-12-18 09:56:15 +00:00
David E. O'Brien
52ee5d1983
Fix my CPP_SPEC synatax screwup.
...
Totally pissed at self: obrien
1999-12-16 02:03:35 +00:00
David E. O'Brien
f1195718dd
Remove the defining of __i486__ baesd on TARGET_CPU_DEFAULT and !m386 or m486.
1999-12-15 10:16:25 +00:00
David E. O'Brien
cd423b136e
* Use getobjformat() rather than manually do what it does.
...
* Don't conditional based on i386, but generalize to all FreeBSD arch's.
* Don't be a.out-centric, but generalize to handle other possible future
formats.
Submitted by: marcel (partial)
1999-11-29 10:41:21 +00:00
David E. O'Brien
0cef048f94
Virgin import of the GCC 2.95.1 compilers
...
(gcc/config/i386/freebsd.h renamed to freebsd-aout.h)
1999-11-24 06:24:35 +00:00
David E. O'Brien
e4dfd37f5a
This commit was generated by cvs2svn to compensate for changes in r53660,
...
which included commits to RCS files with non-trunk default branches.
1999-11-24 06:24:35 +00:00
David E. O'Brien
5003d98148
Virgin import of gcc from EGCS 1.1.2.
...
(renamed to freebsd-aout.h)
1999-11-24 06:23:43 +00:00
David E. O'Brien
9ea0cca7b7
This commit was generated by cvs2svn to compensate for changes in r53657,
...
which included commits to RCS files with non-trunk default branches.
1999-11-24 06:23:43 +00:00
David E. O'Brien
421eff041a
Virgin import of GCC 2.7.2.3's gcc/config/i386/freebsd.h for a.out systems.
...
[This has been renamed to freebsd-aout.h to not conflict with our own
hacked up version.]
1999-11-24 06:22:22 +00:00
David E. O'Brien
2cbc2fc2d0
This commit was generated by cvs2svn to compensate for changes in r53654,
...
which included commits to RCS files with non-trunk default branches.
1999-11-24 06:22:22 +00:00
David E. O'Brien
32458f8c01
* Remove a trailing ";" from a macro.
...
* Style cleanup.
1999-11-17 07:18:25 +00:00
David E. O'Brien
9df17bd3c2
This temperary file can die now.
1999-11-17 07:03:32 +00:00
David E. O'Brien
a02d4a1bb5
Fix a minor bogon.
1999-11-15 19:26:58 +00:00
David E. O'Brien
aa2b357d9e
Undo rev 1.13 (define "OBSTACK_CHUNK_SIZE" as getpagesize()).
...
It causes internal compiler errors and sig 11's with GCC 2.95.2.
1999-11-15 07:57:13 +00:00
David E. O'Brien
0e2abe6daa
Upgrade support file for GCC 2.95.2.
1999-11-15 04:41:30 +00:00
David E. O'Brien
874051e952
Add rev 1.2 profiling tweaks, to GCC 2.95.2.
1999-11-15 04:33:36 +00:00
David E. O'Brien
6a90513a0f
Use the stock 2.95.2 file here.
...
I cannot determine if our previous (rev 1.2) changes for ObjC are still
appropriate.
1999-11-15 04:28:55 +00:00
David E. O'Brien
103b517414
Bump __FreeBSD_cc_version due to the compiler upgrade.
1999-11-15 04:25:13 +00:00
David E. O'Brien
bad1bfea45
Make cross-compilation work for Alpha on i386 machines.
...
Note that the optimizer has a bug somewhere. This means that only -O0
works at this time.
Submitted by: marcel
1999-11-14 12:07:57 +00:00
David E. O'Brien
f4f21b5c0a
Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
...
for recent Egcs 1.1.x.
Submitted by: simokawa
1999-11-14 12:04:02 +00:00
David E. O'Brien
92a8fe88b3
Changes for Alpha and EGCS.
...
* Commonalities with i386, moved to a FreeBSD wide config file.
* Major additions to this file were adapted from Hidetoshi Shimokawa
<simokawa@FreeBSD.ORG>'s Alpha suppliment to the Egcs 1.1.2 port.
1999-11-14 12:01:58 +00:00
David E. O'Brien
8b2496aa28
Virgin import of the GCC 2.95.1 compilers
1999-11-14 08:33:44 +00:00
David E. O'Brien
f91f0e2951
This commit was generated by cvs2svn to compensate for changes in r53142,
...
which included commits to RCS files with non-trunk default branches.
1999-11-14 08:33:44 +00:00
David E. O'Brien
47d43e699e
Virgin import of gcc from EGCS 1.1.2
1999-11-14 08:31:18 +00:00
David E. O'Brien
1859f7348a
This commit was generated by cvs2svn to compensate for changes in r53140,
...
which included commits to RCS files with non-trunk default branches.
1999-11-14 08:31:18 +00:00
Marcel Moolenaar
bd8ae5d0d7
Make cross-compilation work for Alpha on i386 machines. Note that
...
the optimizer has a bug somewhere. This means that only -O0 works
at this time.
1999-11-12 16:36:16 +00:00
David E. O'Brien
152b6a190b
Virgin import from GCC 2.95.1.
...
As of GCC 2.95 these files from libiberty are absolutely required:
ansidecl.h libiberty.h splay-tree.h splay-tree.c
To keep from having to import all of libiberty, they are imported here
for now. Before all is said and done, libiberty might be imported, or
these files might move elsewhere.
1999-11-04 10:35:02 +00:00
David E. O'Brien
694985ca74
This commit was generated by cvs2svn to compensate for changes in r52878,
...
which included commits to RCS files with non-trunk default branches.
1999-11-04 10:35:02 +00:00
David E. O'Brien
dbbf50b2c1
Merge rev 1.2 [_exit() over exit()] into GCC 2.95.1.
1999-11-04 10:26:31 +00:00
David E. O'Brien
edc039af11
Merge rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 2.95.1.
1999-11-04 10:23:25 +00:00
David E. O'Brien
bb26fe914f
Virgin import from GCC 2.95.1.
...
As of GCC 2.95 these files:
choose-temp.c demangle.h getopt.h obstack.c pexecute.c
cplus-dem.c getopt.c getopt1.c obstack.h
were removed from the GCC compilers proper to libiberty. To continue our
revision history, and to keep from having to import all of libiberty,
they are imported here as if they were never moved.
1999-11-04 10:20:05 +00:00
David E. O'Brien
8084f41299
This commit was generated by cvs2svn to compensate for changes in r52874,
...
which included commits to RCS files with non-trunk default branches.
1999-11-04 10:20:05 +00:00
David E. O'Brien
5e4f33b57d
Structure field name changed.
1999-11-03 12:33:56 +00:00
David E. O'Brien
7429eb627b
This brings rev 1.2 (reality check and document profiling extensions)
...
into GCC 2.95.2.
1999-11-01 20:09:07 +00:00
David E. O'Brien
145b487463
This adds rev 1.2 (-fformat-extensions) to GCC 2.95.2.
1999-11-01 19:51:19 +00:00
David E. O'Brien
8364821558
Merge rev 1.2 (a.out support) into GCC 2.95.2.
1999-11-01 18:56:02 +00:00
David E. O'Brien
3a81009a05
Add Alpha and proper x86 support to GCC 2.95.2.
...
[ Functionally speaking, this covers revs 1.{2,3} ]
1999-11-01 18:53:45 +00:00
David E. O'Brien
60766cff6e
Merge our -fformat-extensions and printf0() into GCC 2.95.2.
1999-11-01 18:41:09 +00:00
David E. O'Brien
d14ec649a5
Virgin import of the GCC 2.95.2 compilers
1999-11-01 08:28:22 +00:00
David E. O'Brien
79fe5b7c35
This commit was generated by cvs2svn to compensate for changes in r52750,
...
which included commits to RCS files with non-trunk default branches.
1999-11-01 08:28:22 +00:00
David E. O'Brien
77ba2fa135
Use the stock file for now.
1999-10-27 09:45:47 +00:00
David E. O'Brien
7870ac45b1
s brings rev 1.2 (document printf0()) into GCC 2.95.1.
1999-10-27 09:41:10 +00:00
David E. O'Brien
022c4aa3c3
This brings rev 1.2 (reality check and document profiling extensions)
...
into GCC 2.95.1.
1999-10-27 09:37:24 +00:00
David E. O'Brien
038686ab78
This adds rev 1.2 (-fformat-extensions) to GCC 2.95.1.
1999-10-27 09:31:52 +00:00
David E. O'Brien
b59570183a
Use the stock file.
1999-10-27 09:23:37 +00:00
David E. O'Brien
aa3dc39c46
Use the stock file now.
1999-10-26 09:17:58 +00:00
David E. O'Brien
844fd17cbc
Merge the FREEBSD_NATIVE and ELF/a.out support into GCC 2.95.1.
1999-10-26 09:13:47 +00:00
David E. O'Brien
d135dab220
Fix conflicts.
1999-10-26 08:57:00 +00:00
David E. O'Brien
b2d5bd75c2
Merge rev 1.2 (a.out support) into GCC 2.95.1.
1999-10-26 08:53:03 +00:00
David E. O'Brien
cd6526700d
Merge our changes - this brings rev 1.2 (fix stabs ordering for a.out)
...
into GCC 2.95.1.
1999-10-26 08:47:58 +00:00
David E. O'Brien
c4fdf639ae
Merge our changes - this brings rev 1.2 (-fformat-extensions)
...
into GCC 2.95.1.
1999-10-26 08:45:23 +00:00
David E. O'Brien
d9996e3a9a
Merge our changes - this brings revs 1.{2,3} minus rev 1.4 into GCC 2.95.1.
1999-10-26 08:41:38 +00:00
David E. O'Brien
4c47b7c8d4
Fix conflicts. (dist src now contains our rev 1.1->1.2 changes)
1999-10-26 08:38:21 +00:00
David E. O'Brien
fd61cf3070
Add Alpha and proper x86 support to GCC 2.95.1.
...
[ Functionally speaking, this covers revs 1.{2,3} ]
1999-10-16 08:44:43 +00:00
David E. O'Brien
c6975f0768
Merge rev 1.2 (FreeBSD native support -- do not search the multitude of
...
extended include file paths that do not exist) into GCC 2.95.1.
1999-10-16 08:39:06 +00:00
David E. O'Brien
75b9cba00e
Go back to stock file -- our mods are OBE.
1999-10-16 08:34:33 +00:00
David E. O'Brien
a659e1e661
Merge our -fformat-extensions and printf0() into GCC 2.95.1.
1999-10-16 08:28:26 +00:00
David E. O'Brien
c3c9b2d1d1
Stick with the stock version of this.
1999-10-16 08:21:54 +00:00
David E. O'Brien
0efb1a6924
Use this stock version of this.
1999-10-16 08:13:35 +00:00
David E. O'Brien
3fa6aa223c
Use the stock file here. I cannot determine if our previous (rev 1.2)
...
changes for ObjC are still appropriate.
1999-10-16 08:12:02 +00:00
David E. O'Brien
098b3e11ec
Use stock file here.
1999-10-16 08:10:36 +00:00
David E. O'Brien
e5dfdb494d
Bring our profiling tweaks from rev 1.2 into GCC 2.95.1.
1999-10-16 08:08:21 +00:00
David E. O'Brien
bceb635162
Merge BDE's printf format error fixes into GCC 2.95.1.
1999-10-16 07:57:37 +00:00
David E. O'Brien
5270ed0d16
Use the stock file here.
1999-10-16 07:56:14 +00:00
David E. O'Brien
923ab67efc
Use the stock GCC 2.95.1 file here. Our previous (rev 1.2) changes are OBE.
1999-10-16 07:53:19 +00:00
David E. O'Brien
eead50688d
Merge rev 1.2 into GCC 2.95.1.
1999-10-16 07:35:28 +00:00
David E. O'Brien
b39cebb8f3
Fix conflicts.
1999-10-16 07:12:34 +00:00
David E. O'Brien
f32ac804b1
Virgin import of the GCC 2.95.1 compilers
1999-10-16 07:10:09 +00:00
David E. O'Brien
05da15fdb4
This commit was generated by cvs2svn to compensate for changes in r52287,
...
which included commits to RCS files with non-trunk default branches.
1999-10-16 07:10:09 +00:00
David E. O'Brien
f2c57ef828
Virgin import of the GCC 2.95.1 compilers
1999-10-16 06:09:09 +00:00
David E. O'Brien
3bae6d51b0
This commit was generated by cvs2svn to compensate for changes in r52284,
...
which included commits to RCS files with non-trunk default branches.
1999-10-16 06:09:09 +00:00
David E. O'Brien
f269f9df8d
Grrrrr. Put the $FreeBSD$ in a Bad Place.
1999-10-15 21:49:40 +00:00
David E. O'Brien
b7da6f22c3
Register the fact we want expand_main_function() to invoke __main.
1999-10-15 20:56:19 +00:00
David E. O'Brien
46e3c32617
Merge rev 1.2 (a.out support) into EGCS 1.1.2.
1999-10-15 20:48:35 +00:00
David E. O'Brien
68883b2d58
Return these files back to their stock versions.
...
These files aren't used in either building GCC or with a GCC installation
in the "FreeBSD native" case.
1999-10-13 15:55:31 +00:00
David E. O'Brien
b50366c383
Virgin import of EGCS 1.1.2
1999-10-12 00:47:56 +00:00
David E. O'Brien
f04184a54b
This commit was generated by cvs2svn to compensate for changes in r52143,
...
which included commits to RCS files with non-trunk default branches.
1999-10-12 00:47:56 +00:00
David E. O'Brien
44d23c83a9
Remove a useless blank line, I accidently added.
1999-10-12 00:35:49 +00:00
David E. O'Brien
ba505f0644
Move RCS tag to our normal place.
1999-10-10 22:43:12 +00:00
David E. O'Brien
1baaa64720
Style cleanups:
...
* be consistant on protecting "#define FOO"s with "#undef FOO".
* be consistant that macro params are upper case, and commas are followed
by a space in the macro definition
* protect macro param expansion by ()'s
* break long lines
* line continuations chars to consistant column
* remove trailing spaces
1999-10-10 22:33:40 +00:00
David E. O'Brien
ac27a30c83
Remove things common to all FreeBSD platforms. They will now live in a
...
FreeBSD wide config file.
This includes "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG". Platforms
such as FreeBSD/MIPS will need to override these two defintions, but it
can #undef them and define them approapiately.
1999-10-10 22:17:24 +00:00
David E. O'Brien
bdc228c639
Virgin import of EGCS 1.1.2
1999-10-03 09:19:40 +00:00
David E. O'Brien
72a8915368
This commit was generated by cvs2svn to compensate for changes in r51899,
...
which included commits to RCS files with non-trunk default branches.
1999-10-03 09:19:40 +00:00
David E. O'Brien
dc76ff5a60
Virgin import of EGCS 1.1.2
1999-10-02 21:54:32 +00:00
David E. O'Brien
360a324402
This commit was generated by cvs2svn to compensate for changes in r51885,
...
which included commits to RCS files with non-trunk default branches.
1999-10-02 21:54:32 +00:00
David E. O'Brien
929da3a6b2
* We have /var/tmp, not /usr/tmp. So use that where EGCS used the latter.
...
* In the absence of the env vars TMPDIR, TMP, TEMP (which override this
ordering), attempt to create temperary files in /tmp, P_tmpdir (/var/tmp),
/usr/tmp, and . until successful.
1999-10-02 21:50:07 +00:00
David E. O'Brien
261b37fb6c
Virgin import of EGCS 1.1.2
1999-10-02 01:46:57 +00:00
David E. O'Brien
8167cb1aef
This commit was generated by cvs2svn to compensate for changes in r51848,
...
which included commits to RCS files with non-trunk default branches.
1999-10-02 01:46:57 +00:00
David E. O'Brien
b6f18be149
Bring BDE's printf format error fixes into EGCS.
1999-09-19 11:00:01 +00:00
David E. O'Brien
989e177ec2
Bring our profiling tweaks into EGCS 1.1.2.
1999-09-19 10:43:38 +00:00