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
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
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
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
David E. O'Brien
be42e63aec
Add tweaks needed when using as the system compiler.
2002-05-10 19:05:07 +00:00
David E. O'Brien
3b2b7c3e7a
Change symbol values to match freebsd.h to avoid warnings.
2002-05-10 09:02:14 +00:00
David E. O'Brien
f35f6d5d45
Remove files not part of GCC 3.1.
2002-05-10 05:26:57 +00:00
David E. O'Brien
df9426806f
Use the stock (3.1 pre) file.
2002-05-09 22:44:32 +00:00
David E. O'Brien
2311abec95
Use the stock file for now (but leave a note behind about our OBE changes).
2002-05-09 22:42:39 +00:00
David E. O'Brien
4a81869631
Use the stock (3.1) file.
2002-05-09 22:38:33 +00:00
David E. O'Brien
1c7d68f037
We use the stock (3.1) file.
2002-05-09 22:16:22 +00:00
David E. O'Brien
909b401074
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
David E. O'Brien
a922fa645e
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
David E. O'Brien
2fa9c646bb
Alpha MD bits for Gcc 3.1.
2002-05-07 23:28:45 +00:00
David E. O'Brien
fa4cd061df
Comment a knob.
2002-05-07 02:26:40 +00:00
David E. O'Brien
f5519e857b
The default ASM_OUTPUT_ADDR_DIFF_ELT will now handle our mixed a.out/ELF.
2002-05-07 02:25:52 +00:00
David E. O'Brien
b8df1f7e86
MI bits for Gcc 3.1.
2002-04-30 17:22:42 +00:00
David E. O'Brien
353c69dcb9
i386 MD bits for Gcc 3.1.
...
These are totally untested. Do these work? Hell if I know, I have yet to
bootstrap using these bits. But people want them, so here they are.
2002-04-30 17:15:01 +00:00
David E. O'Brien
d5d1c5a11e
Style changes to reduce diff to things I did in the FSF repo.
2002-04-24 04:49:34 +00:00
David E. O'Brien
51448c0be3
Fix bug where we were loosing our platform-wide ASM_COMMENT_START
...
definition due to pollution in i386/unix.h.
2002-04-24 04:48:00 +00:00
David E. O'Brien
8e069c8cbe
GCC 3.1 uses crtstuff.c on Alpha now. [yay!]
2002-03-27 22:18:22 +00:00
David E. O'Brien
50a5655602
Switch register numbers for DWARF2_DEBUG also.
2002-03-27 05:22:35 +00:00
David E. O'Brien
99339e95db
Use the default 'ld' emulation rather than hard coding it.
...
For FreeBSD, 'ld' 2.12.0 uses a different emulation than in the past.
So this change makes the upgrade easier.
2002-02-25 04:49:17 +00:00
David E. O'Brien
08a759af80
Use the stock [3.l-snap] version of this.
2002-02-06 05:02:18 +00:00
David E. O'Brien
229356526c
Use the stock [3.1-snap] file.
2002-02-06 05:01:51 +00:00
David E. O'Brien
9864f35a4f
Use the stock file for now.
...
The changes from GCC 2.95.3 to 3.1 are large and it is hard to figure
out how to apply our changes. Once BDE can properly test GCC 3.1 he'll
add back in our changes.
2002-02-06 05:01:29 +00:00
David E. O'Brien
2b6f3a3db7
Merge the stock gcc-3.1_snap file onto HEAD.
2002-02-06 05:00:48 +00:00
David E. O'Brien
1952e2e1c1
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
David E. O'Brien
11b18c4539
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
David E. O'Brien
13696e0464
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
Peter Wemm
d337ceafd7
Remove files that have been removed from vendor branch
2002-01-27 22:41:09 +00:00
Peter Wemm
418b22b96f
This commit was generated by cvs2svn to compensate for changes in r89884,
...
which included commits to RCS files with non-trunk default branches.
2002-01-27 22:41:09 +00:00
David E. O'Brien
a6d80351b7
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
David E. O'Brien
cb300ebf8e
Make it easy for people to use define DWARF2 exceptions unwinding.
...
If "WANT_DWARF2_UNWIND" you get it. Note that this is a different C++ ABI
than the FreeBSD default. So you will need to recompile all your C++ apps
that uses exceptions if you turn this on. I am adding it here for Yahoo!'s
use and for those that want to be early adopters to what I will make as the
default with the GCC 3.0 import.
2001-05-14 22:45:26 +00:00
David E. O'Brien
3cd4df5a77
Choose the right LIB_SPEC for threads based on "__FreeBSD_version".
...
This allows someone with an older -current to update their compiler [only].
Inspired by: Loren James Rittle <rittle@rsch.comm.mot.com>
2001-05-12 04:57:49 +00:00
David E. O'Brien
41fd0c09eb
Remove some files that are no longer in the FSF branch.
2001-03-19 19:50:17 +00:00
David E. O'Brien
1e1e1a599e
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
David E. O'Brien
843b04fb90
Virgin import of the GCC 2.95.3 compilers
2001-03-19 19:46:16 +00:00
David E. O'Brien
9dcc3a35a1
Change "NO_PROFILE_DATA" to "NO_PROFILE_COUNTERS" to match the commit by
...
the FSF/GCC people in the stock 2.97 source that is like our custom change
modulo the conditional compilation symbol.
2001-03-02 08:46:15 +00:00