obrien
5eb5239e7b
Change symbol values to match freebsd.h to avoid warnings.
2002-05-10 09:02:14 +00:00
obrien
4af4f4a28b
Remove files not part of GCC 3.1.
2002-05-10 05:26:57 +00:00
obrien
37ab630335
Use the stock (3.1) file.
2002-05-09 22:38:33 +00:00
obrien
5dab80497a
We use the stock (3.1) file.
2002-05-09 22:16:22 +00:00
obrien
98051db4df
This commit was generated by cvs2svn to compensate for changes in r96263,
...
which included commits to RCS files with non-trunk default branches.
2002-05-09 20:02:13 +00:00
obrien
c8f5fc7032
Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT.
2002-05-09 20:02:13 +00:00
obrien
3c0c831761
Alpha MD bits for Gcc 3.1.
2002-05-07 23:28:45 +00:00
obrien
3e278e7acd
GCC 3.1 uses crtstuff.c on Alpha now. [yay!]
2002-03-27 22:18:22 +00:00
obrien
757b03860f
Merge the stock gcc-3.1_snap file onto HEAD.
2002-02-06 05:00:48 +00:00
obrien
c9ab9ae440
Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
...
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
2002-02-01 18:16:02 +00:00
obrien
170a7bc58b
This commit was generated by cvs2svn to compensate for changes in r90075,
...
which included commits to RCS files with non-trunk default branches.
2002-02-01 18:16:02 +00:00
obrien
9e7f705ccb
MFC: gcc.295/config/alpha/freebsd.h revision 1.12:
...
Remove our definition for FUNCTION_PROFILER as it is wrong.
Note that "jsr $28,_mcount" is a macro for
ldq $27, _mcount($29) !literal!1
jsr $28, ($27), _mcount !lituse_jsr!1
1. The call to _mcount is added by alpha_expand_prologue after we load the gp.
Our _mcount uses $27 for the incoming address, unlike OSF/1 and Linux,
which use $28. This probably doesn't matter since we probably don't use $27
within _mcount itself.
2. You can't use this insn with _mcount because it uses the PLT, which clobbers
the return address in $28. Note that the prologue_mcount pattern carefully
avoids adding the lituse_jsr relocation so that we call through the GOT
directly.
Submitted by: Richard Henderson <rth@redhat.com>
2002-01-31 17:20:44 +00:00
obrien
d40943f1a4
Re-initialize gp after a jsr.
...
When rtld runs the .fini section in a shared lib (C++), the code in
question from .../contrib/gdb/config/alpha/crtbegin.asm first calls
__do_globals_dtors_aux and then __do_frame_takedown. Unfortunately, the
value of gp after a jsr is undefined and in this case had changed from before
the call, probably as a result of calling code in some other shared library.
The normal calling convention for alpha is to re-initialize gp using
'ldgp gp,0(ra)' after a jsr instruction but in this case no such
re-initialization is done. This leads to a bogus value being read for the
address of __do_frame_takedown and a quick segfault.
Submitted by: dfr
Obtained from: GCC 3.0
2001-08-17 22:54:26 +00:00
obrien
831148a589
Remove some files that are no longer in the FSF branch.
2001-03-19 19:50:17 +00:00
obrien
6830f79554
Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge
...
with changes made in the FSF tree.
2001-03-19 19:50:16 +00:00
obrien
b2d68729b2
Merge gcc.2.95.3-test1 changes onto mainline
2001-01-03 17:17:01 +00:00
obrien
c49a039ffd
This commit was generated by cvs2svn to compensate for changes in r70635,
...
which included commits to RCS files with non-trunk default branches.
2001-01-03 17:16:04 +00:00
obrien
e103926ab5
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1
2001-01-03 17:16:04 +00:00
obrien
a2cdf6684f
Start using crt[in].o to adhear to the ELF ABI
...
(and crtstuff.c's requirements).
2000-10-30 12:25:22 +00:00
obrien
890b30850f
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
...
branch as of May 26th, 2000. [these are changes March 31 - May 24th]
2000-05-27 02:25:28 +00:00
obrien
2213994dde
This commit was generated by cvs2svn to compensate for changes in r60967,
...
which included commits to RCS files with non-trunk default branches.
2000-05-27 02:25:28 +00:00
obrien
13cef0c010
Clean up the FreeBSD configuration files -- includes removing the usage
...
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.
2000-03-23 10:18:26 +00:00
obrien
4cced586e8
Use a unified CPP_SPEC.
1999-12-19 06:42:24 +00:00
obrien
224187cfed
* Remove a trailing ";" from a macro.
...
* Style cleanup.
1999-11-17 07:18:25 +00:00
obrien
4c6571b53b
This temperary file can die now.
1999-11-17 07:03:32 +00:00
obrien
ff78e4a96e
Fix a minor bogon.
1999-11-15 19:26:58 +00:00
obrien
196d3fb65e
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
obrien
89cb48b53d
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
obrien
0caf21e247
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
marcel
1b5e9c01a9
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
obrien
d883fc3415
Use this stock version of this.
1999-10-16 08:13:35 +00:00
obrien
cae8fa8120
Virgin import of the GCC 2.95.1 compilers
1999-10-16 06:09:09 +00:00
obrien
8f3bf11ba2
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
obrien
9fae78db4f
Use the stock EGCS version of this.
1999-09-19 09:09:21 +00:00
obrien
0bedf4fb30
Virgin import of gcc from EGCS 1.1.2
1999-08-26 09:30:50 +00:00
obrien
ad6db0c2d6
This commit was generated by cvs2svn to compensate for changes in r50397,
...
which included commits to RCS files with non-trunk default branches.
1999-08-26 09:30:50 +00:00
obrien
46e13824b3
* Consistantly surround macro parameters with ()
...
* Consistantly put spaces after "," in macro param lists
* Consistantly align continuation characters.
* Don't need to supply all variations of __FOO__ in CPP_PREDEFINES,
gcc will do that for us.
1999-08-20 09:01:55 +00:00
obrien
5b15ba9a9b
Move two of the DBX config directives to the common configuration header.
...
Also simply CPP_PREDEFINES a little.
1999-08-19 09:16:23 +00:00
obrien
b1194cd711
Move "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG" to the general spec file
...
since their definitions were identical. FreeBSD/MIPS will need to override
these two defintions, but it can #undef them and define them approapiately.
1999-08-15 22:02:50 +00:00
obrien
d4db5fb866
Virgin import of GCC 2.7.2.3
1999-07-10 23:03:59 +00:00
simokawa
e2ee147d6e
Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
...
for recent egcs.
1999-06-10 12:05:48 +00:00
jdp
68c20b8d38
Fix typo (#unset where #undef was meant).
1999-05-21 04:56:32 +00:00
obrien
7f4b070df4
Consistantly protect "#define FOO ..." with "#undef FOO".
1999-05-20 08:30:48 +00:00
obrien
152572105d
Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
...
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.
1999-04-27 19:29:44 +00:00
obrien
acbe0a68a9
Use new FBSD_SWITCH_TAKES_ARG' and
FBSD_WORD_SWITCH_TAKES_ARG'.
1999-04-22 17:45:24 +00:00
obrien
7b0c099985
merge alpha/freebsd-elf.h into alpha/freebsd.h
...
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:48:49 +00:00
obrien
252934eed1
Mispelled global option in usage.
1999-04-06 13:09:24 +00:00
obrien
b3def447d1
Alpha architecture config files.
...
Obtained from: adapted from Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>'s
alpha suppliment to the Egcs port.
1999-03-30 07:47:06 +00:00
cvs2svn
b822db1505
This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'.
1999-03-30 07:36:37 +00:00
jb
ba935f3272
Add LIB_SPEC (same as on i386) so that gcc knows about libc_r.
1998-06-08 10:58:36 +00:00