Alexander Kabaev
68e56eb18e
Do not compile hash_compat.c.
2007-05-19 05:52:28 +00:00
Robert Watson
4ce71ef718
Check return value of m_pullup() in firewire_input().
...
CID: 2105
Found with: Coverity Prevent(tm)
2007-05-19 05:29:05 +00:00
Colin Percival
a7e2f06359
Don't forget to free a string allocated by strdup where necessary.
...
Found by: Coverity Prevent
Coverity ID: CID 3132
2007-05-19 05:09:09 +00:00
Alexander Kabaev
12c95a2554
Tweak inlining parameters a little. Add warning to tell us if function
...
we declared as inline can not be inlined.
2007-05-19 05:07:47 +00:00
Alexander Kabaev
d586dea015
Remove extern struct pcpu __pcpu[]; from the header file and
...
move it the the only file where it appears to be used.
2007-05-19 05:03:59 +00:00
Alexander Kabaev
fa298d5ea8
Include machine/pcb.hto turn extern struct pcb stoppcbs[]; construct
...
into the valid C.
2007-05-19 05:01:43 +00:00
Alexander Kabaev
b27167c85e
Remove local static redefinition of ucom_devclass.
2007-05-19 04:57:15 +00:00
Alexander Kabaev
d5a857fbbb
Make sure libc is installed before all other shared libraries. Other
...
libraries might depend on versioned symbols from libc.
2007-05-19 04:55:14 +00:00
Alexander Kabaev
ee9f46615e
Add kern.arnd sysctl. SSP code uses it to initialize the stack guard
...
magic value.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
2007-05-19 04:53:14 +00:00
Alexander Kabaev
da3bcc92c1
Disable -Werror for now.
...
Remove -I- construct obsolete in GCC 4.2.
2007-05-19 04:48:08 +00:00
Alexander Kabaev
42f17ea912
Add -Wno-pointer-sign to CWARNFLAGS.
...
Switch ia64 kernels to -fpic. This is likely wrong, but at least gets
ia64 kernels to compile and link with GCC 4.2. The previous -mno-sdata
trick is not working anymore.
2007-05-19 04:45:54 +00:00
Alexander Kabaev
36aa6a9be5
Introduce WITHOUT_SSP option that allows users to exclude LGPLed
...
libssp from the build.
2007-05-19 04:42:59 +00:00
Alexander Kabaev
d9e2d1a3b5
Universally disable -Werror until src/ is in better shape for GCC 4.2.
...
There are new warnings that kill the build otherwise.
Disable pointer destination sign mismatch warning alltogether. Our tree
is in no shape to have that enabled yet.
2007-05-19 04:41:05 +00:00
Alexander Kabaev
5c0e10ecce
Use built-in _end symbol insteadof 'end' for consistency with other
...
architectures. Linker defines end is synonym for _end.
2007-05-19 04:36:34 +00:00
Alexander Kabaev
94942af266
Do not declare float_detect_tininess as external if it will be re-delared
...
as static later.
2007-05-19 04:34:42 +00:00
Alexander Kabaev
e20b165899
Make sure GCC will not try to link libc with itself.
2007-05-19 04:32:56 +00:00
Alexander Kabaev
91c1e2bf9b
Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
...
SSP functions into FreeBSD libc. Use the same file name and location
for consistency with other projects.
2007-05-19 04:31:43 +00:00
Alexander Kabaev
afb57df680
Update bmake glue to build GCC 4.2.
...
Also:
Switch FreeBSD to use libgcc_s.so.1.
Use dl_iterate_phdr to locate shared objects' exception frame
info instead of depending on older register_frame_info machinery.
This allows us to avoid depending on libgcc_s.so.1 in binaries
that do not use exception handling directly. As an additional
benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.
Build newly added libgomp.so.1 library, the runtime support
bits for OpenMP.
Build LGPLed libssp library. Our libc provides our own
BSD-licensed SSP callbacks implementation, so this library
is only built to benefit applications that have hadcoded
knowledge of libssp.so and libssp_nonshared.a. When linked
in from command line, these libraries override libc
implementation.
2007-05-19 04:25:59 +00:00
Alexander Kabaev
25a362d725
GCC will now properly link libc with all shared objects in order to record
...
their dependency on libc and its versioned symbols. For that to work,
libc needs to be built before any other shared library that might depend
on it. Add necessary glue to make that happen.
2007-05-19 03:34:59 +00:00
Alexander Kabaev
caea7898ac
Add templates for new GCC 4.2 C++ include files hierarchy.
2007-05-19 03:31:39 +00:00
Alexander Kabaev
a3c734cc52
Fix generator glue to only expose extern struct units %s_units[] is
...
struct units defintition it known. The above construct is treated
as an incorrect C by GCC 4.2 otherwise.
2007-05-19 03:29:37 +00:00
Alexander Kabaev
44f3233714
Remove extern int verbose declaration. It is declared static in the
...
only file it is used in.
2007-05-19 03:23:43 +00:00
Alexander Kabaev
520d6ec0d8
Fix static/extern mismatch by patching corresponding tdep files
...
in-place.
2007-05-19 03:22:19 +00:00
Alexander Kabaev
9f4623d21f
Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
...
for temporary files.
2007-05-19 03:17:00 +00:00
Alexander Kabaev
fe32ca9af4
Merge arm-freebsd.h.diff directly into the target file. Maintaining
...
separate patch is much more painful than taking this file off the
vendor branch.
2007-05-19 03:11:26 +00:00
Alexander Kabaev
23400e5a44
Add FMT_FLAG_NULL_FORMAT_OK flag.
2007-05-19 03:09:31 +00:00
Alexander Kabaev
ef444676f3
This commit was generated by cvs2svn to compensate for changes in r169708,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 02:42:17 +00:00
Alexander Kabaev
8902467bb7
Remove files that are not part of GCC distribution anymore.
2007-05-19 02:34:18 +00:00
Alexander Kabaev
096b39c236
Update configuration files for GCC 4.2.
2007-05-19 02:30:20 +00:00
Alexander Kabaev
0d6df2bb56
Merge local FreeBSD changes for -mno-align-long-strings.
2007-05-19 02:26:26 +00:00
Alexander Kabaev
be54bacbaf
Merge local FreeBSD changes.
2007-05-19 02:23:49 +00:00
Alexander Kabaev
2bc5055037
In FreeBSD -O0 -O1 optimize alignment for time, not size.
2007-05-19 02:22:16 +00:00
Alexander Kabaev
f48faea4fa
Merge local changes for -mprofiler-epilogue support.
2007-05-19 02:18:38 +00:00
Alexander Kabaev
2f68bca35b
Merge local FreeBSD changes to support -fformat-extensions.
2007-05-19 02:16:45 +00:00
Alexander Kabaev
e2f01f3f63
Add FreeBSD suffix to GCC version string.
2007-05-19 02:14:13 +00:00
Alexander Kabaev
9d6b9560a8
FreeBSD uses unchanged versions of this files.
2007-05-19 02:12:21 +00:00
Andrew Thompson
9bbba41e79
Fix a mbuf leak where sc_start fails or the protocol is none.
2007-05-19 01:40:18 +00:00
Alexander Kabaev
d9573fb947
This commit was generated by cvs2svn to compensate for changes in r169695,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:27:20 +00:00
Alexander Kabaev
c7ca977ef2
GCC 4.2.0 release miscellaneous support libraries.
2007-05-19 01:27:20 +00:00
Alexander Kabaev
ccb11231b1
This commit was generated by cvs2svn to compensate for changes in r169693,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:25:45 +00:00
Alexander Kabaev
00e4af377d
GCC 4.2.0 release Objective C runtime support code.
2007-05-19 01:25:45 +00:00
Alexander Kabaev
5513e3663a
This commit was generated by cvs2svn to compensate for changes in r169691,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:25:07 +00:00
Alexander Kabaev
f8a1b7d9d8
GCC 4.2.0 release C++ standard library and runtime support code.
2007-05-19 01:25:07 +00:00
Alexander Kabaev
533952614f
This commit was generated by cvs2svn to compensate for changes in r169689,
...
which included commits to RCS files with non-trunk default branches.
2007-05-19 01:19:51 +00:00
Alexander Kabaev
6b834ef156
GCC 4.2.0 release.
2007-05-19 01:19:51 +00:00
Andrew Thompson
3362a47464
Fix locking assert where we should hold the reader lock.
2007-05-18 23:38:35 +00:00
Matt Jacob
1cd1670b48
Zero scsi_readcapacity allocations so we can really
...
tell if there has been data returned (for some broken
residual checking points).
MFC after: 3 days
2007-05-18 21:58:07 +00:00
Andre Oppermann
d2ddf5d4b0
Be more restrictive with segment validity checks in syncache_expand()
...
and log check failures to syslog at LOG_DEBUG level.
Always prefill the sc->sc_ts field to use it in the checks.
2007-05-18 21:42:25 +00:00
Andre Oppermann
5df429a002
o Add syslog logging under LOG_DEBUG to various failures caused by
...
bogus segments
o Add more KASSERT()s
o Update comments
2007-05-18 21:13:01 +00:00
Robert Watson
eefc497257
Remove unnecessary assignment.
...
CID: 2227
Found with: Coverity Prevent(tm)
2007-05-18 21:10:08 +00:00