| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Also simply CPP_PREDEFINES a little.
|
|
|
|
|
| |
since their definitions were identical. FreeBSD/MIPS will need to override
these two defintions, but it can #undef them and define them approapiately.
|
|
|
|
| |
submitting to the GCC mainainers for folding into the stock GCC.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
section rather than the "Miscellaneous parameters" where it belongs.
* Clarify what we are locating using the -m rule.
Submitted by: bde
|
| |
| |
| |
| |
| |
| | |
was not consistantly followed.
Submitted by: bde
|
| |
| |
| |
| |
| |
| |
| | |
Our malloc can allocte pagesized blocks efficiently and the EGCS default size
of 4072 bytes is not optimal.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
| |
| |
| |
| | |
for recent egcs.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
in libstdc++.
Until I have a chance to look at what that problem is and to carefully consider
the upgrade issues of turning it back on at a later date if we leave it turned
off for any extended peroid of time.
|
| |
| |
| |
| |
| |
| |
| |
| | |
just include them in tm.h (as built from cc/cc_tools/Makefile).
This will reduce the diffs from the vendor sources.
Excellent idea by: jdp
|
| |
| |
| |
| |
| | |
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.
|
| |
| |
| |
| |
| |
| |
| | |
While I have yet to hear of any problems with us using thunks. The EGCS
mailing list notes some have problems with it and not using them are a
safer default. People wanting to use them, can set the appropiate
compiler flag.
|
| | |
|
| |
| |
| |
| |
| | |
to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these
values if needed.
|
| |
| |
| |
| | |
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
|
| |
| |
| |
| | |
elf and wrong for i386-aout.
|
| | |
|
| |
| |
| |
| | |
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
| | |
|
| |
| |
| |
| | |
CPP_PREDEFINES.
|
| |
| |
| |
| |
| |
| | |
* Turn on DEFAULT_VTABLE_THUNKS. (it is the default anyway, I'm just being
explicit about it, in case it causes us trouble it might be easier for
someone to notice it this way)
|
| |
| |
| |
| |
| |
| | |
EGCS at some point.
Submitted by: jdp
|
| |
| |
| |
| |
| | |
Obtained from: adapted from Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>'s
alpha suppliment to the Egcs port.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
__FreeBSD_version
Forgotten by: Eivind and Some anonymous release engineer
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
with a numeric value that describes the feature level of the
compiler. This can be used to check for the presence/absence of
FreeBSD-specific compiler features. The value is a decimal number
whose digits have the form VRRRRFF, where:
V = Compiler vendor. 0 (elided) means gcc.
RRRR = Vendor's version number, e.g., 2721 for the current
gcc version (2.7.2.1).
FF = FreeBSD-specific revision level. 00 means the stock
compiler from the vendor.
The value of "__FreeBSD_cc_version" is hard-coded in
"src/contrib/gcc/config/i386/freebsd.h" and must be incremented
when new FreeBSD-specific compiler features are added. I considered
simply picking up the value of FreeBSD_version from <osreldate.h>.
But that would break cross compiles of gcc.
PR: Part of the fix for gnu/8452
Suggested by: bde
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the executable file, so it will work for both a.out and ELF format
files. I have split the object format specific code into separate
source files. It's cleaner than it was before, but it's still
pretty crufty.
Don't cheat on your make world for this update. A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.
|
| |
| |
| |
| | |
Suggested by: jdp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.
Fixed a message - don't warn about the field width when it's the
precision that has the wrong type. Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
|
| |
| |
| |
| |
| | |
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
attribute. It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer. See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.
This change will allow us to add format string checking for the
err(3) family of functions.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287
|
| | |
|
| |
| |
| |
| | |
Here is what I intended.
|
| |
| |
| |
| |
| |
| |
| |
| | |
aout and elf support. freebsd-elf.h died as a result, so the BINFORMAT
test for elf in src/gnu/usr.bin/cc/cc_tool/Makefile will need to
use freebsd.h, not freebsd-elf.h. That means that alpha will have to
go the same way. The new alpha/freebsd.h has the alpha/freebsd-elf.h
definitions merged in.
|
| |
| |
| |
| |
| | |
Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
i386-elf because that is what will be used for FreeBSD/Alpha.
Change the STARTFILE_SPEC to match the non-aout version of i386 so
that the csu files can be built in exactly the same way as i386-elf.
This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses
crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was
decided that i386-elf should use crt1. i386-elf also references
crti and with this change, so does FreeBAS/Alpha.
I think it is important for FreeBSD to have a consistent implementation
across architectures and since ELF is quite compatible (ignoring
differences in 32 and 64 bits), gcc might as well be configured the
same.
Another change is that the entry symbol is _start, not __start as
in NetBSD.
|
| |
| |
| |
| | |
Prompted by: bde
|