obrien
b7652a08d1
Tell others how I did this.
1999-11-01 07:27:42 +00:00
obrien
94bfed1f74
This file came from elsewhere and there was a little turd left.
1999-11-01 07:25:20 +00:00
obrien
548c47820e
Describe how I did this.
1999-11-01 07:24:11 +00:00
obrien
5d8884be5b
Update for gcc 2.95.2.
1999-11-01 07:22:02 +00:00
obrien
321582243d
Use the stock file for now.
1999-10-27 09:45:47 +00:00
obrien
b0e43a5cf6
s brings rev 1.2 (document printf0()) into GCC 2.95.1.
1999-10-27 09:41:10 +00:00
obrien
d1a4530efd
This brings rev 1.2 (reality check and document profiling extensions)
...
into GCC 2.95.1.
1999-10-27 09:37:24 +00:00
obrien
1292393efe
This adds rev 1.2 (-fformat-extensions) to GCC 2.95.1.
1999-10-27 09:31:52 +00:00
obrien
05270b6462
Use the stock file.
1999-10-27 09:23:37 +00:00
obrien
574b483e89
Use the stock file now.
1999-10-26 09:17:58 +00:00
obrien
00201b83e6
Merge the FREEBSD_NATIVE and ELF/a.out support into GCC 2.95.1.
1999-10-26 09:13:47 +00:00
obrien
d169fbae43
Fix conflicts.
1999-10-26 08:57:00 +00:00
obrien
be3662861f
Merge rev 1.2 (a.out support) into GCC 2.95.1.
1999-10-26 08:53:03 +00:00
obrien
83aa1e1aef
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
obrien
bdaadca7c0
Merge our changes - this brings rev 1.2 (-fformat-extensions)
...
into GCC 2.95.1.
1999-10-26 08:45:23 +00:00
obrien
8db9511c04
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
obrien
6ae771fde6
Fix conflicts. (dist src now contains our rev 1.1->1.2 changes)
1999-10-26 08:38:21 +00:00
peter
6976901e20
If running on the client side of a remote commit, don't reject root when
...
trying to do a commit. The server side will use the correct name, and the
client side restriction is just an annoyance.
Requested by: lots of folks
1999-10-25 06:24:11 +00:00
obrien
bdbbf36ec3
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
obrien
d7ea7964e7
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
obrien
9be0b14aaf
Go back to stock file -- our mods are OBE.
1999-10-16 08:34:33 +00:00
obrien
c88c634d26
Merge our -fformat-extensions and printf0() into GCC 2.95.1.
1999-10-16 08:28:26 +00:00
obrien
b86ce00be8
Stick with the stock version of this.
1999-10-16 08:21:54 +00:00
obrien
d883fc3415
Use this stock version of this.
1999-10-16 08:13:35 +00:00
obrien
cf3ead1aa1
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
obrien
4e49c9209b
Use stock file here.
1999-10-16 08:10:36 +00:00
obrien
d6efeabb7a
Bring our profiling tweaks from rev 1.2 into GCC 2.95.1.
1999-10-16 08:08:21 +00:00
obrien
af6623e278
Merge BDE's printf format error fixes into GCC 2.95.1.
1999-10-16 07:57:37 +00:00
obrien
6fc90f57b3
Use the stock file here.
1999-10-16 07:56:14 +00:00
obrien
ad65a89b33
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
obrien
7f3675d738
Merge rev 1.2 into GCC 2.95.1.
1999-10-16 07:35:28 +00:00
obrien
712aed4e0b
Fix conflicts.
1999-10-16 07:12:34 +00:00
obrien
874263d914
Virgin import of the GCC 2.95.1 compilers
1999-10-16 07:10:09 +00:00
obrien
05aa33623b
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
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
84656b55b6
Virgin import of GCC 2.95.1's libio -- the C++ iostream facility.
1999-10-16 03:54:25 +00:00
obrien
c80f4f2424
This commit was generated by cvs2svn to compensate for changes in r52279,
...
which included commits to RCS files with non-trunk default branches.
1999-10-16 03:54:25 +00:00
obrien
b721bc1aed
Virgin import of GCC 2.95.1's libstdc++
1999-10-16 03:52:48 +00:00
obrien
3459bbfa7f
This commit was generated by cvs2svn to compensate for changes in r52277,
...
which included commits to RCS files with non-trunk default branches.
1999-10-16 03:52:48 +00:00
obrien
fcdace9ad8
Grrrrr. Put the $FreeBSD$ in a Bad Place.
1999-10-15 21:49:40 +00:00
obrien
3dcb5df695
Register the fact we want expand_main_function() to invoke __main.
1999-10-15 20:56:19 +00:00
obrien
eab3fcc626
Merge rev 1.2 (a.out support) into EGCS 1.1.2.
1999-10-15 20:48:35 +00:00
obrien
2f32fb0a0e
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
obrien
9f01c491d0
Virgin import of EGCS 1.1.2
1999-10-12 00:47:56 +00:00
obrien
8032f1899c
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
obrien
1555d44f14
Remove a useless blank line, I accidently added.
1999-10-12 00:35:49 +00:00
obrien
9f1f03f986
Move RCS tag to our normal place.
1999-10-10 22:43:12 +00:00
obrien
2dc205f241
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
obrien
76d75beacc
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
mharo
6f0c55764d
Correct typo, Welcom -> Welcome
...
and add $FreeBSD$
1999-10-10 07:46:38 +00:00
obrien
1d7ec327c1
Fully document -q.
...
Restore original $Header$.
1999-10-05 15:20:45 +00:00
obrien
55f2f61a7b
Virgin import of EGCS 1.1.2's libio -- the C++ iostream facility.
1999-10-04 08:17:54 +00:00
obrien
905fc76f35
This commit was generated by cvs2svn to compensate for changes in r51922,
...
which included commits to RCS files with non-trunk default branches.
1999-10-04 08:17:54 +00:00
obrien
2cef6469c5
Virgin import of EGCS 1.1.2's libstdc++
1999-10-04 08:12:38 +00:00
obrien
b9cf96069d
This commit was generated by cvs2svn to compensate for changes in r51920,
...
which included commits to RCS files with non-trunk default branches.
1999-10-04 08:12:38 +00:00
obrien
aa3f6dfa3a
Virgin import of EGCS 1.1.2
1999-10-03 09:19:40 +00:00
obrien
355e1eeeeb
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
obrien
cef7d41dd5
Virgin import of EGCS 1.1.2
1999-10-02 21:54:32 +00:00
obrien
0858aa3a81
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
obrien
a1342c30ed
* 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
obrien
ae0f17d54a
Virgin import of EGCS 1.1.2
1999-10-02 01:46:57 +00:00
obrien
6709241681
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
sheldonh
412c3617b4
Update the upgrade instructions for awk 3.0.4.
1999-09-27 09:09:08 +00:00
sheldonh
fd12515e9f
Fix conflicts. Add $FreeBSD$ as needed.
1999-09-27 08:57:04 +00:00
sheldonh
b54765f984
This commit was generated by cvs2svn to compensate for changes in r51728,
...
which included commits to RCS files with non-trunk default branches.
1999-09-27 08:51:04 +00:00
sheldonh
b725e888cf
Virgin import of GNU awk 3.0.4, which fixes at least a memory mis-
...
management problem involving custom print formats.
PR: 13615
Reported by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
1999-09-27 08:51:04 +00:00
phantom
ab4110c3bc
Mention -p and -t options.
1999-09-24 11:37:06 +00:00
phantom
472736db15
Learn nroff about -p and -t options. It allows to preprocess
...
file with pic(1) and tbl(1).
Not objected to: mpp
1999-09-23 13:40:28 +00:00
obrien
fd1d2c9a38
Fix conflicts.
...
Version 6.0.2s2 gives us a better fix a buffer overflow problem in
real_plog(). It also gives us a few code cleanups to quiet `gcc -Wall'.
1999-09-23 05:36:01 +00:00
obrien
525520fd05
Virgin import of AMD (am-utils) v6.0.2s2
1999-09-23 05:15:28 +00:00
obrien
5b5a6e51e1
This commit was generated by cvs2svn to compensate for changes in r51591,
...
which included commits to RCS files with non-trunk default branches.
1999-09-23 05:15:28 +00:00
ache
9e89242d36
moved to tmac/locale
1999-09-23 02:56:00 +00:00
phantom
8559cd0134
Allow .Rv macro to be used in 7th section also. This patch
...
will fix "Usage: .Rv ..." error at mdoc.samples.7
Ok'ed by: mpp
1999-09-22 22:36:16 +00:00
phantom
5b41a05a1a
Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
...
with "Alpha architecture" manpages.
1999-09-22 21:38:40 +00:00
sheldonh
54fb6a7e44
Add the ``blacklist'' feature, which allows a path to a filename to
...
be used as a valid pattern in the access control language.
Patch obtained from ftp://ftp.porcupine.org/pub/security/ .
Requested by: markm
1999-09-21 09:09:57 +00:00
obrien
caa7271ba9
Bring BDE's printf format error fixes into EGCS.
1999-09-19 11:00:01 +00:00
obrien
4e55baf141
Bring our profiling tweaks into EGCS 1.1.2.
1999-09-19 10:43:38 +00:00
obrien
28a04200f0
"COMMENT_BEGIN" is no longer used.
1999-09-19 10:32:18 +00:00
obrien
7d1a76ba11
Support linking against libgcc_r.
...
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
1999-09-19 10:31:14 +00:00
obrien
eed2bb0659
This should get us the same functionality we had with GCC 2.7.2.1.
...
* Support for our dual ELF/a.out building ability
* Our custom ASM_* definitions
* Our custom debugger and profiling related definitions
* Our custom STARTFILE/ENDFILE specs
* The stock EGCS 1.1.2 freebsd-elf.h file depended on
egcs-1.1.2/gcc/config/linux.h, which included "svr4.h". We will
include "svr4.h" via our "tm.h" definition. So add the few bits
from "linux.h" we actually needed.
* Using our current crtbegin.o/crtend.o we cannot support the DWARF2
unwinding mechanisms. In the future we will switch to the
non-sjlj-exceptions type exception machanism. However the `make world'
bootstrap problems with the EGCS crtstuff.c must be overcome first.
* Our a.out gas doesn't "know" to use NOP's for aligns while in the text
section. Thus the a.out alignment generation needed tweaking from
what we did with GCC 2.7.2. [from BDE]
* The definition of SUPPORTS_ONE_ONLY prevents the compiler from trying
to use "linkonce" sections for a.out. The definition of
NO_DBX_FUNCTION_END we had causes it to avoid .stabs symbols that the
assembler cannot handle for a.out. [from JDP]
* The previous "EXCEPTION_SECTION_FUNCTION" is the wrong name for EGCS.
It also needed tweaking for EGCS. [from JDP]
Also bump __FreeBSD_cc_version to 400002 in case we need to know we are
using EGCS at some point.
1999-09-19 10:28:57 +00:00
obrien
9fae78db4f
Use the stock EGCS version of this.
1999-09-19 09:09:21 +00:00
obrien
cad2b43722
Document the new i386 family options.
...
Obtained from: invoke.texi
1999-09-19 09:00:24 +00:00
obrien
385f21dad7
Document -Os optimization. Add to -O{0,2} documentation.
...
Obtained from: invoke.texi
1999-09-19 08:58:44 +00:00
obrien
2e9bc72c28
Merge revs 1.2-1.11 (doc fixes and updates to reflect reality) into the
...
EGCS 1.1.2 manpage.
1999-09-19 08:56:04 +00:00
obrien
8e8efb3bd5
Merge rev 1.2 docs fixes into EGCS 1.1.2's manpage.
1999-09-19 08:18:18 +00:00
obrien
166e2f82f7
Update for GCC 2.95.1's bundled libf2c.
1999-09-19 05:59:54 +00:00
obrien
c53c47e769
Virgin import of GCC 2.95.1's libf2c
1999-09-19 05:59:11 +00:00
obrien
f85090e7e7
This commit was generated by cvs2svn to compensate for changes in r51384,
...
which included commits to RCS files with non-trunk default branches.
1999-09-19 05:59:11 +00:00
obrien
e70dce2706
Tell people how this work was done.
1999-09-19 05:50:17 +00:00
obrien
0ecfea2ee8
Fix conflicts. This has a small part of rev 1.2 in it.
1999-09-18 11:14:59 +00:00
obrien
b93c24d42b
Fix conflicts. This merges revs 1.{2,3} with EGCS 1.1.2.
1999-09-18 11:02:28 +00:00
obrien
98e51635e2
Virgin import of EGCS 1.1.2's libf2c
1999-09-18 10:51:31 +00:00
obrien
399f9861ee
This commit was generated by cvs2svn to compensate for changes in r51363,
...
which included commits to RCS files with non-trunk default branches.
1999-09-18 10:51:31 +00:00
obrien
4edb29d7da
Update the support files from the 6.0.1 import.
1999-09-18 09:25:20 +00:00
jmas
246bb5b220
Re-encode spanish messages using ISO-8859-1.
...
Patches also sent to bostic@bostic.com .
PR: bin/5966
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
1999-09-17 08:30:48 +00:00
obrien
5c1a3647e5
Fix conflicts.
1999-09-15 05:45:17 +00:00
obrien
422815db96
Virgin import of AMD (am-utils) v6.0.1
1999-09-15 02:50:52 +00:00
obrien
e0215a27a7
This commit was generated by cvs2svn to compensate for changes in r51292,
...
which included commits to RCS files with non-trunk default branches.
1999-09-15 02:50:52 +00:00
peter
9751ab22ae
Fix warning: return type of main' is not
int'
1999-09-15 01:58:44 +00:00
ru
19b029502b
Fix a coredump when commands in ~/.exrc prepended with addresses.
...
PR: 13000
1999-09-14 14:34:58 +00:00
bde
4f52cde87f
Merge from ../egcs/gcc/gcc.c rev.1.5:
...
Don't exclude directories that the linker is "known" to search (/lib
and /usr/lib) when deciding whether to pass certain paths to the
linker. Under FreeBSD, the linker is actually known to never search
/lib and to only search /usr/lib in the elf case. Not passing the
paths causes at best causes confusing differences for cross compiling.
This change is conditional on FREEBSD_NATIVE but should be absolute.
1999-09-13 15:50:16 +00:00
ache
68d776c14a
pick up locales from locale subdir
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 20:01:41 +00:00
ache
1097230631
koi8-r mandoc tweaks
...
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:49:21 +00:00
ache
8936d8635f
source hyphen.us-ru from locale subdir
1999-09-11 19:32:14 +00:00
obrien
587e83e810
Document -R.
1999-09-11 13:33:18 +00:00
obrien
65fb255e80
Add FreeBSD tag.
1999-09-08 11:16:36 +00:00
obrien
93a3f5c983
Don't -ko anymore.
...
Add FreeBSD tag.
1999-09-08 11:14:51 +00:00
obrien
b8634127ec
Don't -ko anymore.
1999-09-08 11:12:35 +00:00
obrien
2c1f6f70ec
Don't use -ko any more.
1999-09-08 11:11:59 +00:00
imp
6d47ec31fc
MFS: amd mount disabling and overflow protection.
...
Reported by: gallatin@freebsd.org
1999-09-07 23:07:03 +00:00
ru
bdb110f5a2
Add FreeBSD 3.3 to the Fx and Os macros.
1999-09-07 10:33:34 +00:00
simokawa
40c42e0915
Update the author's address and Global's home page.
...
PR: misc/13589
Submitted by: Shigio Yamaguchi <shigio@tamacom.com>
1999-09-07 02:46:08 +00:00
peter
b3b9d0960a
$Id$ -> $FreeBSD$
1999-09-05 17:27:05 +00:00
markm
444a62d6e1
Fix up this for the build; some compatibility files have been added -
...
these will be submitted back to KTH for inclusion.
1999-09-04 09:49:02 +00:00
luoqi
e2743a0286
Remove GCC_UNUSED under FREEBSD_NATIVE option.
...
Requested by: ache
1999-09-03 17:56:05 +00:00
luoqi
ecfed74f23
Restore documented tgetstr() behavior.
1999-09-03 05:15:33 +00:00
peter
52c9474e10
Take a shot at getting this to compile under newpnp.
1999-09-02 05:20:08 +00:00
obrien
75ba4caabd
Document that dhclient-script will only set the hostname if it is unset.
...
Submitted by: John Baldwin <jobaldwi@vt.edu>
1999-09-02 05:15:26 +00:00
markm
fb02eb6e57
This commit was generated by cvs2svn to compensate for changes in r50764,
...
which included commits to RCS files with non-trunk default branches.
1999-09-01 20:02:46 +00:00
markm
a7e28b18e9
Double pointy hat award. Import this into the right area.
1999-09-01 20:02:46 +00:00
markm
05435ef431
Termcap header no longer needed.
1999-09-01 18:57:38 +00:00
obrien
1307fb8ba8
Use the stock EGCS 1.1.2 file here. Our previous changes are OBE.
...
(code change by rev 1.3 has been removed, and 1.2 is not needed since
contrib/gcc/cp/except.c is now the stock one)
1999-08-30 10:50:39 +00:00
obrien
ba9b2147f2
Use the stock EGCS 1.1.2 file here. I cannot determine if our previous
...
changes for ObjC are still appropriate.
1999-08-30 10:27:11 +00:00
obrien
1d16d23ff8
This brings rev 1.2 into EGCS 1.1.2. Also tweaks gleemed from EGCS
...
ChangeLog's. Note that rev 1.3 changes (HOST_PTR_PRINTF) was not
brought into EGCS 1.1.2 as that is the default.
1999-08-30 10:12:33 +00:00
obrien
537ee54f88
Fix conflicts.
1999-08-30 09:58:28 +00:00
obrien
903d244211
Use the stock EGCS 1.1.2 file here. Our previous changes are OBE.
1999-08-30 09:54:31 +00:00
obrien
2bce35da0a
This add Alpha and proper x86 support to EGCS 1.1.2. Functionally speaking,
...
this covers revs 1.{2,3}.
1999-08-30 08:41:19 +00:00
obrien
0191a04a93
This brings rev 1.2 (reality check and document profiling extensions)
...
into EGCS 1.1.2.
1999-08-30 07:51:44 +00:00
peter
3a5022bc64
Tweaks for using natively under FreeBSD (with native termcap)
1999-08-30 07:50:31 +00:00
obrien
237b828920
This brings rev 1.2 (document printf0()) into EGCS 1.1.2.
1999-08-30 07:38:42 +00:00
obrien
61f8ac135c
Fix conflicts.
1999-08-30 07:28:52 +00:00
obrien
308b546022
Fix conflicts.
...
This adds rev 1.2 (-fformat-extensions) to EGCS 1.1.2.
1999-08-30 04:01:02 +00:00
obrien
1179e4387f
Fix conflict.
1999-08-30 01:02:55 +00:00
obrien
48597b2c18
Fix conflicts.
1999-08-30 00:01:36 +00:00
obrien
ec9280070b
This brings rev 1.2 (FREEBSD_NATIVE) and rev 1.5 (mixed ELF/aout support)
...
into EGCS 1.1.2.
1999-08-29 23:53:46 +00:00
obrien
23cf060089
Correct vfork()/exit() to vfork()/_exit().
...
Also return "1" rather than "-1". According to bde: -1 is unrepresentable.
Exit statuses must be >= 0 and <= 255, at least if chars are 8 bits and
shorts are 16 bits. This seems to only be documented indirectly in exit.2
by referring to wait.2. WEXITSTATUS() throws away all except the low 8 bits
of the status returned by _exit(), and the kernel actually only stores 8
bits of it (if chars are 8 bits, etc.), so wait() can't return any more bits.
Obtained from: rev 1.4 of contrib/gcc/gcc.c
1999-08-29 23:46:20 +00:00
lile
9fd13149fc
Add source routing support.
1999-08-28 15:14:15 +00:00
obrien
6ae2479e39
Fix conflicts.
...
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.
1999-08-28 11:46:53 +00:00
obrien
3a35f41abc
Fix conflicts.
...
This brings revs 1.{2,3} minus rev 1.4 into EGCS 1.1.2.
1999-08-28 11:27:19 +00:00
obrien
f77ff8b800
Fix conflicts.
1999-08-28 08:14:14 +00:00
obrien
c4b74a1764
Fix conflicts. This brings rev 1.2 (fix stabs ordering for a.out) into
...
EGCS 1.1.2.
1999-08-28 07:19:03 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
obrien
550b040d68
Fix conflicts. This brings in rev 1.2 (FreeBSD native support -- do not
...
search the multitude of extended include file paths that do not exist)
into EGCS 1.1.2.
1999-08-27 11:02:42 +00:00
obrien
b1e989f610
Fix conflicts. This brings the "printf0" addition into EGCS 1.1.2.
1999-08-27 10:58:48 +00:00
obrien
e7996da3fa
Don't accept %q length specifiers in the kernel (more precisely,
...
if compiling with -fformat-extensions). Gcc's format checker never
actually supported %q length specifiers. It treats %q as an alias
for %ll, which is correct if quad_t is long long (e.g., on i386's)
and broken otherwise (e.g., on alphas).
quad_t's currently should be printed in the same way that they
already need to be printed to avoid compiler warnings on all
supported systems: cast them to a standard type that is at least
as large (long or long long) and use the length specifier for that
(%l or %ll). This is problematic since long long isn't standard
yet. C9x's intmax_t should be implemented soon.
Don't accept %L length specifiers in the kernel either. The only
legitimate ones are for long doubles, but the kernel doesn't even
support plain doubles. (gcc bogusly accepts %Ld as an alias for
%lld, and it sometimes prints "q" in error messages about "ll" and
"L" length specifiers, becauses it represents all these specifiers
as 'q'.)
Submitted by: bde
1999-08-27 10:05:08 +00:00
obrien
a774007e84
Fixed kernel format checking:
...
- plain %r and %z were disallowed. The hard NULs in the warnings were
hopefully caused by disallowing of plain formats being nonsense.
- new formats for shortening to a byte were allowed, but even the libc
printf doesn't support them.
- old %hr and %hz formats were allowed, but the kernel printf doesn't
support them. The kernel doesn't support %hd either, but this is
harder to fix.
Submitted by: bde
1999-08-27 10:02:56 +00:00
obrien
2f0dd791ee
Fix conflicts.
...
This brings revs 1.2 (-fformat-extensions) and 1.3 (printf0())
into EGCS 1.1.2.
1999-08-27 10:01:05 +00:00
obrien
426fcb8f55
Fix conflicts.
1999-08-27 09:36:15 +00:00
obrien
0bedf4fb30
Virgin import of gcc from EGCS 1.1.2
1999-08-26 09:30:50 +00:00