]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoRemove pointless code: Don't assign a value to a variable when we're
Colin Percival [Mon, 21 May 2007 04:22:38 +0000 (04:22 +0000)]
Remove pointless code: Don't assign a value to a variable when we're
going to overwrite it with a new value a few lines later.

Visual inspection of the surrounding code indicates that the code does
what it's supposed to do; i.e., the pointless code wasn't supposed to
be doing something other than what it was doing.

CID: 3323
Found by: Coverity Prevent(tm)

17 years agoMFV: tzdata2007f
Garrett Wollman [Mon, 21 May 2007 04:21:58 +0000 (04:21 +0000)]
MFV: tzdata2007f

PR: conf/109418
Requested by: edwin@
Obtained from: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzdata2007f.tar.gz
MFC after: 1 week

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169808,
Garrett Wollman [Mon, 21 May 2007 04:15:32 +0000 (04:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169808,
which included commits to RCS files with non-trunk default branches.

17 years agoLong-delayed import of timezone database from Arthur Olson et al.
Garrett Wollman [Mon, 21 May 2007 04:15:32 +0000 (04:15 +0000)]
Long-delayed import of timezone database from Arthur Olson et al.

Timezone data changes in the following locations:

Antarctica
Bahamas
Chile (past timestamps only)
Cuba
Eritrea (Africa/Asmara renamed to Africa/Asmera)
Haiti
Honduras
Indonesia (past timestamps only)
Mongolia
New Zealand (future timestamps only)
Nunavut
Pulaski County, Indiana
Syria
Turkey
Turks & Caicos
Western Australia

Also: some city coordinates corrected.

PR: conf/109418

17 years agoBump library versions in preparation for 7.0.
Daniel Eischen [Mon, 21 May 2007 02:49:08 +0000 (02:49 +0000)]
Bump library versions in preparation for 7.0.

Ok'd by: kan

17 years agoMFp4: Simplify the bus probe routin using a kthread.
Hidetoshi Shimokawa [Mon, 21 May 2007 02:18:50 +0000 (02:18 +0000)]
MFp4: Simplify the bus probe routin using a kthread.

MFC after: 1 week

17 years ago - rename VMCNT_DEC to VMCNT_SUB to reflect the count argument.
Jeff Roberson [Sun, 20 May 2007 22:33:42 +0000 (22:33 +0000)]
 - rename VMCNT_DEC to VMCNT_SUB to reflect the count argument.

Suggested by: julian@
Contributed by: attilio@

17 years ago - Move clock synchronization into a seperate clock lock so the global
Jeff Roberson [Sun, 20 May 2007 22:11:50 +0000 (22:11 +0000)]
 - Move clock synchronization into a seperate clock lock so the global
   scheduler lock is not involved.  sched_lock still protects the sched_clock
   call.  Another patch will remedy this.

Contributed by: Attilio Rao <attilio@FreeBSD.org>
Tested by: kris, jeff

17 years ago - Move GDT/LDT locking into a seperate spinlock, removing the global
Jeff Roberson [Sun, 20 May 2007 22:03:57 +0000 (22:03 +0000)]
 - Move GDT/LDT locking into a seperate spinlock, removing the global
   scheduler lock from this responsibility.

Contributed by: Attilio Rao <attilio@FreeBSD.org>
Tested by: jeff, kkenn

17 years agoMention the formats supported by bsdtar; include an
Tim Kientzle [Sun, 20 May 2007 18:23:39 +0000 (18:23 +0000)]
Mention the formats supported by bsdtar; include an
example that shows how to work with an ISO 9660 image.

17 years agoInitialize irql to something prior to calls that (might) set it.
Matt Jacob [Sun, 20 May 2007 16:59:37 +0000 (16:59 +0000)]
Initialize irql to something prior to calls that (might) set it.
Whined about: gcc 4.2

17 years agoInitializae lastaddr to 0 in bus_dmamap_load_uio so that
Matt Jacob [Sun, 20 May 2007 16:53:45 +0000 (16:53 +0000)]
Initializae lastaddr to 0 in bus_dmamap_load_uio so that
_bus_dmamap_load_buffer won't (potentially) be confused.

Discovered by: gcc 4.2

MFC after: 3 days

17 years agoMake gcc 4.2 happy by initiatlizing controller && channel prior
Matt Jacob [Sun, 20 May 2007 16:49:09 +0000 (16:49 +0000)]
Make gcc 4.2 happy by initiatlizing controller && channel prior
to a call to a function which *might* then initialize them.

MFC after: 3 days

17 years agoIncrease size of timer counter bitfield to accomodate the actual size of the
Matt Jacob [Sun, 20 May 2007 16:43:35 +0000 (16:43 +0000)]
Increase size of timer counter bitfield to accomodate the actual size of the
default timer value.

Discovered By: gcc 4.2

MFC after: 3 days

17 years ago- Staticize cpu_ipi_send() and cpu_mp_unleash() as these aren't
Marius Strobl [Sun, 20 May 2007 14:49:01 +0000 (14:49 +0000)]
- Staticize cpu_ipi_send() and cpu_mp_unleash() as these aren't
  referenced outside of mp_machdep.c
- Replace a magic 14 with the newly added IDC_ITID_SHIFT macro.
- Remove the global mp_boot_mid variable as it's not really necessary
  and just replacing it with PCPU_GET(mid) doesn't have any impact on
  performance once booted.
- Replace PCPU_GET(cpuid) with the curcpu shortcut.
- Replace hardcoded function names in panic strings etc with __func__
  so they don't need to be updated when renaming the function.
- Use register_t instead of u_long for variables used to hold the
  return value of intr_disable() so we don't need to apply any
  knowledge about the actual width of that value here.
- Improve the wording of some comments.
- Fix several style(9) bugs.

17 years ago- Also identify USIIIi+, USIV and USIV+ CPUs.
Marius Strobl [Sun, 20 May 2007 13:47:36 +0000 (13:47 +0000)]
- Also identify USIIIi+, USIV and USIV+ CPUs.
- Use __FBSDID in identcpu.c.
- Remove #ifndef SUN4V around global cpu_impl variable; it doesn't
  hurt on sun4v for now and once setPQL2() is gone sun4v can stop
  sharing identcpu.c with sparc64, making the reminder of this file
  also sparc64-only again. [1]

Submitted by: kmacy [1]

17 years agoGiven that these sparc64 (as in sun4u) specific headers only exist
Marius Strobl [Sun, 20 May 2007 13:19:32 +0000 (13:19 +0000)]
Given that these sparc64 (as in sun4u) specific headers only exist
in the sun4v source in order to be able to compile the source which
is shared between sparc64 and sun4v just #include the sparc64
version here instead of duplicating it.
This is based on the approach taken by pc98 headers in order to
compile the source shared between i386 and pc98.

17 years agoDelete the unused/not really used sparc64 (as in sun4u) cache.h,
Marius Strobl [Sun, 20 May 2007 13:06:45 +0000 (13:06 +0000)]
Delete the unused/not really used sparc64 (as in sun4u) cache.h,
iommureg.h (which already began to bitrot) and iommuvar.h from the
sun4v source and adjust some of the source which is shared between
sparc64 and sun4v as appropriate.

17 years agoDelete a remnant of the old sparc64 nexus(4) which was never used for sun4v.
Marius Strobl [Sun, 20 May 2007 09:58:16 +0000 (09:58 +0000)]
Delete a remnant of the old sparc64 nexus(4) which was never used for sun4v.

17 years agoRemove superfluous inclusion of machine/ver.h.
Marius Strobl [Sun, 20 May 2007 09:31:31 +0000 (09:31 +0000)]
Remove superfluous inclusion of machine/ver.h.

17 years agoMake previous revision compile.
Marius Strobl [Sun, 20 May 2007 09:21:29 +0000 (09:21 +0000)]
Make previous revision compile.

17 years agoForced commit to note that last commit:
Greg Lehey [Sun, 20 May 2007 03:57:47 +0000 (03:57 +0000)]
Forced commit to note that last commit:

PR: conf/112699
MFC after: 2 weeks

17 years agoUpdate /etc/protocols with IANA list updated 2007-02-12
Greg Lehey [Sun, 20 May 2007 03:55:22 +0000 (03:55 +0000)]
Update /etc/protocols with IANA list updated 2007-02-12

Gotcha:  Number 48 (mhrp) is replaced with dsr.

Submitted by: edwin
PR: config/112732
MFC after: 2 weeks

17 years agoWhite space fixes only: replace spaces with tabs.
Greg Lehey [Sun, 20 May 2007 03:41:26 +0000 (03:41 +0000)]
White space fixes only: replace spaces with tabs.

17 years agoBring the well known ports of /etc/services into sync with the IANA
Greg Lehey [Sun, 20 May 2007 03:31:52 +0000 (03:31 +0000)]
Bring the well known ports of /etc/services into sync with the IANA
list.

This is only for the well known known ports (port 1-1023) for tcp and
udp only.

Changes:
- Removed "problems" comments around port 57, 77 and 87
- Removed audionews (port 114)
- Added imap3 (port 220)
- Removed yak-chat (port 258)
- Removed concert (port 786)
- Added a lot of new allocations

Submitted by: edwin

17 years ago- packets on the input interface were counted twice
Andrew Thompson [Sun, 20 May 2007 03:21:59 +0000 (03:21 +0000)]
- packets on the input interface were counted twice
- Use IFQ_HANDOFF instead of rolling our own

17 years agoAdd new x11-drivers category.
Florent Thoumie [Sat, 19 May 2007 21:29:26 +0000 (21:29 +0000)]
Add new x11-drivers category.

MFC after: 3 days

17 years agoAdd new x11-drivers category.
Florent Thoumie [Sat, 19 May 2007 21:27:37 +0000 (21:27 +0000)]
Add new x11-drivers category.

Reminded by: miwi
MFC after: 3 days

17 years agoRename the macros for assertion flags passed to sx_assert() from SX_* to
John Baldwin [Sat, 19 May 2007 21:26:05 +0000 (21:26 +0000)]
Rename the macros for assertion flags passed to sx_assert() from SX_* to
SA_* to match mutexes and rwlocks.  The old flags still exist for
backwards compatiblity.

Requested by: attilio

17 years agoIn kern_sendfile() adjust byte accounting of the file sending loop to
Andre Oppermann [Sat, 19 May 2007 20:50:59 +0000 (20:50 +0000)]
In kern_sendfile() adjust byte accounting of the file sending loop to
ignore the size of any headers that were passed with the sendfile(2)
system call.  Otherwise the file sent will be truncated by the header
size if the nbytes parameter was provided.  The bug doesn't show up
when either nbytes is zero, meaning send the whole file, or no header
iovec is provided.

Resolve a potential error aliasing of errors from the VM and sf_buf
parts and the protocol send parts where an error of the latter over-
writes one of the former.

Update comments.

The byte accounting bug wasn't seen in earlier because none of the popular
sendfile(2) consumers, Apache, lighttpd and our ftpd(8) use it in modes
that trigger it.  The varnish HTTP proxy makes full use of it and exposed
the problem.

Bug found by: phk
Tested by: phk

17 years agoRevision 1.576 removed too much. I didn't notice because my /usr is on
Dag-Erling Smørgrav [Sat, 19 May 2007 20:34:29 +0000 (20:34 +0000)]
Revision 1.576 removed too much.  I didn't notice because my /usr is on
ZFS, which doesn't support flags...

17 years agoDocument sx_xholder().
John Baldwin [Sat, 19 May 2007 20:24:32 +0000 (20:24 +0000)]
Document sx_xholder().

17 years agoExpose sx_xholder() as a public macro. It returns a pointer to the thread
John Baldwin [Sat, 19 May 2007 20:18:12 +0000 (20:18 +0000)]
Expose sx_xholder() as a public macro.  It returns a pointer to the thread
that holds the current exclusive lock, or NULL if no thread holds an
exclusive lock.

Requested by: pjd

17 years agoAdd a few sentences of caution for Microsoft Vista users who might
Bruce A. Mah [Sat, 19 May 2007 20:09:54 +0000 (20:09 +0000)]
Add a few sentences of caution for Microsoft Vista users who might
want to try resizing partitions.  Based on text that was...

Submitted by: Michel Talon
MFC after: 3 days

17 years agoOops, didn't include SX_ADAPTIVESPIN in the list of valid flags for the
John Baldwin [Sat, 19 May 2007 18:34:24 +0000 (18:34 +0000)]
Oops, didn't include SX_ADAPTIVESPIN in the list of valid flags for the
assert in sx_init_flags().

Submitted by: attilio

17 years agoFix GCC warning: va = va += PAGE_SIZE contains pointless operation
Marcel Moolenaar [Sat, 19 May 2007 18:25:14 +0000 (18:25 +0000)]
Fix GCC warning: va = va += PAGE_SIZE contains pointless operation
va = va. Fix white space in nearby lines.

17 years agoUse LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
Alexander Kabaev [Sat, 19 May 2007 16:38:39 +0000 (16:38 +0000)]
Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
puts it before library's object files, making the whole constuct useless.

17 years agoDocument SX_RECURSE flag.
John Baldwin [Sat, 19 May 2007 16:38:10 +0000 (16:38 +0000)]
Document SX_RECURSE flag.

17 years agoAdd a new SX_RECURSE flag to make support for recursive exclusive locks
John Baldwin [Sat, 19 May 2007 16:35:27 +0000 (16:35 +0000)]
Add a new SX_RECURSE flag to make support for recursive exclusive locks
conditional.  By default, sx(9) locks are back to not supporting recursive
exclusive locks.

Submitted by: attilio

17 years agoUse __mcount() instead of _mcount() to reduce diffs with NetBSD.
Olivier Houchard [Sat, 19 May 2007 16:20:37 +0000 (16:20 +0000)]
Use __mcount() instead of _mcount() to reduce diffs with NetBSD.

17 years agoFix the fallout from over-zealous obsolete files removal. Use correct
Alexander Kabaev [Sat, 19 May 2007 15:41:01 +0000 (15:41 +0000)]
Fix the fallout from over-zealous obsolete files removal. Use correct
atomicity.h file for arm and powerpc.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169765,
Maxime Henrion [Sat, 19 May 2007 13:55:01 +0000 (13:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169765,
which included commits to RCS files with non-trunk default branches.

17 years agoFix a typo that caused the #undef directive to not actually undefine
Maxime Henrion [Sat, 19 May 2007 13:55:01 +0000 (13:55 +0000)]
Fix a typo that caused the #undef directive to not actually undefine
the correct symbol, thus causing a warning with GCC 4.2.0.  Committed
into the vendor branch since this is already in the csup repository.

Reported by: kan (ages ago)

17 years agoConstify to please gcc 4.2.
Olivier Houchard [Sat, 19 May 2007 13:32:58 +0000 (13:32 +0000)]
Constify to please gcc 4.2.

17 years agoDo not try to inline pmap_kremove(), as it's exported.
Olivier Houchard [Sat, 19 May 2007 13:21:41 +0000 (13:21 +0000)]
Do not try to inline pmap_kremove(), as it's exported.

17 years agoFix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.
Joel Dahl [Sat, 19 May 2007 13:19:32 +0000 (13:19 +0000)]
Fix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.

PR: kern/98898
Submitted by: Johannes Weiner <hnazfoo@googlemail.com>
Approved by: ariff

17 years agoDo not try to inline bus_dmamap_sync_buf(), gcc 4.2 doesn't want to do so
Olivier Houchard [Sat, 19 May 2007 13:17:31 +0000 (13:17 +0000)]
Do not try to inline bus_dmamap_sync_buf(), gcc 4.2 doesn't want to do so
because it uses alloca().
Initialize lastaddr in bus_dmamap_load_uio().

17 years agoAdd a level of indirection to the kernel PTE table. The old
Marcel Moolenaar [Sat, 19 May 2007 13:11:27 +0000 (13:11 +0000)]
Add a level of indirection to the kernel PTE table. The old
scheme allowed for 1024 PTE pages, each containing 256 PTEs.
This yielded 2GB of KVA. This is not enough to boot a kernel
on a 16GB box and in general too low for a 64-bit machine.
By adding a level of indirection we now have 1024 2nd-level
directory pages, each capable of supporting 2GB of KVA. This
brings the grand total to 2TB of KVA.

17 years agoMention gcc 4.2.0 import.
Xin LI [Sat, 19 May 2007 13:04:07 +0000 (13:04 +0000)]
Mention gcc 4.2.0 import.

17 years agoBump __FreeBSDversion to 700042 to indicate that gcc 4.2 was
Xin LI [Sat, 19 May 2007 12:57:16 +0000 (12:57 +0000)]
Bump __FreeBSDversion to 700042 to indicate that gcc 4.2 was
imported to the base system.

17 years agoAccount for the fact that contigmalloc(9) can return a NULL pointer.
Marcel Moolenaar [Sat, 19 May 2007 12:50:12 +0000 (12:50 +0000)]
Account for the fact that contigmalloc(9) can return a NULL pointer.
Fix the flags argument: M_WAITOK is not a valid flag. Its presence
leaves the indication that contigmalloc(9) will not return a NULL
pointer.

The use of contigmalloc(9) in this place is probably not a good idea
given the constraints. It's probably better to lift the constraints
and instead add a permanent mapping to the ITR. It's possible that
the first 256MB of memory is exhausted when we get here.

This fixes a kernel panic on a 16GB rx3600.

17 years agoSwitch the kernel's pmap domain from 15 to 0.
Olivier Houchard [Sat, 19 May 2007 12:47:34 +0000 (12:47 +0000)]
Switch the kernel's pmap domain from 15 to 0.
This should be a no-op, and this is needed for xscale core 3 supersections
support, as they are always part of the domain 0

17 years agoNew release notes:
Christian Brueffer [Sat, 19 May 2007 12:10:48 +0000 (12:10 +0000)]
New release notes:
- axe(4) altq support
- INCLUDE_CONFIG_FILE improvements
- ng_car added
- sa -U and -P flags

Modified release notes:
- hptiop(4) manpage reference added
- twa(4) updated to 3.70.03.007

Removed release notes:
- lastcomm -X, change whas been backed out

17 years agoTurn off the AK452X De-emphasis filter for 44.1KHz. This should fix some
Joel Dahl [Sat, 19 May 2007 11:06:43 +0000 (11:06 +0000)]
Turn off the AK452X De-emphasis filter for 44.1KHz.  This should fix some
sound quality problems.

PR: kern/112688
Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Reviewed by: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Approved by: ariff

17 years agoFix detection of PC-9821 V166 internal sound card.
Joel Dahl [Sat, 19 May 2007 10:53:01 +0000 (10:53 +0000)]
Fix detection of PC-9821 V166 internal sound card.

PR: kern/105600
Submitted by: rotus <rotus@takamanohara.dyndns.org>
Approved by: ariff

17 years agoMinor update to version 3.70.03.007
Scott Long [Sat, 19 May 2007 10:12:58 +0000 (10:12 +0000)]
Minor update to version 3.70.03.007

17 years agoCompare the partner system priority when choosing the aggregator.
Andrew Thompson [Sat, 19 May 2007 09:37:04 +0000 (09:37 +0000)]
Compare the partner system priority when choosing the aggregator.

17 years agoWork-around for upgrading from a pre-symbol-versioned world.
Scott Long [Sat, 19 May 2007 07:56:08 +0000 (07:56 +0000)]
Work-around for upgrading from a pre-symbol-versioned world.

Blame-to: cperciva
17 years agoImplement the Marker Protocol. A marker frame is placed on the interface queue
Andrew Thompson [Sat, 19 May 2007 07:47:04 +0000 (07:47 +0000)]
Implement the Marker Protocol. A marker frame is placed on the interface queue
of each port and any further packets are blocked, when the all the marker frames
have been returned to us from the remote network device then we can be sure
that all interface queues are empty.

This is needed when a port is added or removed from the aggregation since it
will affect the hash based distribution, if the queues are not empty then a
packet from an existing connection may be placed on a different interface and
arrive out of order. This was previously achieved by suppressing transmission for
1 second, now that there is an active feedback this timeout as been increased
to 3 seconds and used as a fallback.

17 years agoo Fix typo: firwalling -> firewalling.
Maxim Konovalov [Sat, 19 May 2007 07:36:43 +0000 (07:36 +0000)]
o Fix typo: firwalling -> firewalling.

PR: docs/112776
Submitted by: asmodai
MFC after: 1 week

17 years agoCosmetics: remove extra space from GCC version string.
Alexander Kabaev [Sat, 19 May 2007 06:37:32 +0000 (06:37 +0000)]
Cosmetics: remove extra space from  GCC version string.

17 years agoDo not compile hash_compat.c.
Alexander Kabaev [Sat, 19 May 2007 05:52:28 +0000 (05:52 +0000)]
Do not compile hash_compat.c.

17 years agoCheck return value of m_pullup() in firewire_input().
Robert Watson [Sat, 19 May 2007 05:29:05 +0000 (05:29 +0000)]
Check return value of m_pullup() in firewire_input().

CID: 2105
Found with: Coverity Prevent(tm)

17 years agoDon't forget to free a string allocated by strdup where necessary.
Colin Percival [Sat, 19 May 2007 05:09:09 +0000 (05:09 +0000)]
Don't forget to free a string allocated by strdup where necessary.

Found by: Coverity Prevent
Coverity ID: CID 3132

17 years agoTweak inlining parameters a little. Add warning to tell us if function
Alexander Kabaev [Sat, 19 May 2007 05:07:47 +0000 (05:07 +0000)]
Tweak inlining parameters a little. Add warning to tell us if function
we declared as inline can not be inlined.

17 years agoRemove extern struct pcpu __pcpu[]; from the header file and
Alexander Kabaev [Sat, 19 May 2007 05:03:59 +0000 (05:03 +0000)]
Remove extern  struct pcpu __pcpu[]; from the header file and
move it the the only file where it appears to be used.

17 years agoInclude machine/pcb.hto turn extern struct pcb stoppcbs[]; construct
Alexander Kabaev [Sat, 19 May 2007 05:01:43 +0000 (05:01 +0000)]
Include machine/pcb.hto turn extern struct pcb stoppcbs[]; construct
into the valid C.

17 years agoRemove local static redefinition of ucom_devclass.
Alexander Kabaev [Sat, 19 May 2007 04:57:15 +0000 (04:57 +0000)]
Remove local static redefinition of ucom_devclass.

17 years agoMake sure libc is installed before all other shared libraries. Other
Alexander Kabaev [Sat, 19 May 2007 04:55:14 +0000 (04:55 +0000)]
Make sure libc is installed before all other shared libraries. Other
libraries might depend on versioned symbols from libc.

17 years agoAdd kern.arnd sysctl. SSP code uses it to initialize the stack guard
Alexander Kabaev [Sat, 19 May 2007 04:53:14 +0000 (04:53 +0000)]
Add kern.arnd sysctl. SSP code uses it to initialize the stack guard
magic value.

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>

17 years agoDisable -Werror for now.
Alexander Kabaev [Sat, 19 May 2007 04:48:08 +0000 (04:48 +0000)]
Disable -Werror for now.
Remove  -I- construct obsolete in GCC 4.2.

17 years agoAdd -Wno-pointer-sign to CWARNFLAGS.
Alexander Kabaev [Sat, 19 May 2007 04:45:54 +0000 (04:45 +0000)]
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.

17 years agoIntroduce WITHOUT_SSP option that allows users to exclude LGPLed
Alexander Kabaev [Sat, 19 May 2007 04:42:59 +0000 (04:42 +0000)]
Introduce WITHOUT_SSP option that allows users to exclude LGPLed
libssp from the build.

17 years agoUniversally disable -Werror until src/ is in better shape for GCC 4.2.
Alexander Kabaev [Sat, 19 May 2007 04:41:05 +0000 (04:41 +0000)]
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.

17 years agoUse built-in _end symbol insteadof 'end' for consistency with other
Alexander Kabaev [Sat, 19 May 2007 04:36:34 +0000 (04:36 +0000)]
Use built-in _end symbol insteadof 'end' for consistency with other
architectures. Linker defines end is synonym for _end.

17 years agoDo not declare float_detect_tininess as external if it will be re-delared
Alexander Kabaev [Sat, 19 May 2007 04:34:42 +0000 (04:34 +0000)]
Do not declare float_detect_tininess as external if it will be re-delared
as static later.

17 years agoMake sure GCC will not try to link libc with itself.
Alexander Kabaev [Sat, 19 May 2007 04:32:56 +0000 (04:32 +0000)]
Make sure GCC will not try to link libc with itself.

17 years agoFollow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
Alexander Kabaev [Sat, 19 May 2007 04:31:43 +0000 (04:31 +0000)]
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.

17 years agoUpdate bmake glue to build GCC 4.2.
Alexander Kabaev [Sat, 19 May 2007 04:25:59 +0000 (04:25 +0000)]
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.

17 years agoGCC will now properly link libc with all shared objects in order to record
Alexander Kabaev [Sat, 19 May 2007 03:34:59 +0000 (03:34 +0000)]
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.

17 years agoAdd templates for new GCC 4.2 C++ include files hierarchy.
Alexander Kabaev [Sat, 19 May 2007 03:31:39 +0000 (03:31 +0000)]
Add templates for new GCC 4.2 C++ include files hierarchy.

17 years agoFix generator glue to only expose extern struct units %s_units[] is
Alexander Kabaev [Sat, 19 May 2007 03:29:37 +0000 (03:29 +0000)]
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.

17 years agoRemove extern int verbose declaration. It is declared static in the
Alexander Kabaev [Sat, 19 May 2007 03:23:43 +0000 (03:23 +0000)]
Remove extern int verbose declaration. It is declared static in the
only file it is used in.

17 years agoFix static/extern mismatch by patching corresponding tdep files
Alexander Kabaev [Sat, 19 May 2007 03:22:19 +0000 (03:22 +0000)]
Fix static/extern mismatch by patching corresponding tdep files
in-place.

17 years agoRe-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
Alexander Kabaev [Sat, 19 May 2007 03:17:00 +0000 (03:17 +0000)]
Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.

17 years agoMerge arm-freebsd.h.diff directly into the target file. Maintaining
Alexander Kabaev [Sat, 19 May 2007 03:11:26 +0000 (03:11 +0000)]
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.

17 years agoAdd FMT_FLAG_NULL_FORMAT_OK flag.
Alexander Kabaev [Sat, 19 May 2007 03:09:31 +0000 (03:09 +0000)]
Add FMT_FLAG_NULL_FORMAT_OK flag.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169708,
Alexander Kabaev [Sat, 19 May 2007 02:42:17 +0000 (02:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169708,
which included commits to RCS files with non-trunk default branches.

17 years agoRemove files that are not part of GCC distribution anymore.
Alexander Kabaev [Sat, 19 May 2007 02:34:18 +0000 (02:34 +0000)]
Remove files that are not part of GCC distribution anymore.

17 years agoUpdate configuration files for GCC 4.2.
Alexander Kabaev [Sat, 19 May 2007 02:30:20 +0000 (02:30 +0000)]
Update configuration files for GCC 4.2.

17 years agoMerge local FreeBSD changes for -mno-align-long-strings.
Alexander Kabaev [Sat, 19 May 2007 02:26:26 +0000 (02:26 +0000)]
Merge local FreeBSD changes for -mno-align-long-strings.

17 years agoMerge local FreeBSD changes.
Alexander Kabaev [Sat, 19 May 2007 02:23:49 +0000 (02:23 +0000)]
Merge local FreeBSD changes.

17 years agoIn FreeBSD -O0 -O1 optimize alignment for time, not size.
Alexander Kabaev [Sat, 19 May 2007 02:22:16 +0000 (02:22 +0000)]
In FreeBSD -O0 -O1 optimize alignment for time, not size.

17 years agoMerge local changes for -mprofiler-epilogue support.
Alexander Kabaev [Sat, 19 May 2007 02:18:38 +0000 (02:18 +0000)]
Merge local changes for -mprofiler-epilogue support.

17 years agoMerge local FreeBSD changes to support -fformat-extensions.
Alexander Kabaev [Sat, 19 May 2007 02:16:45 +0000 (02:16 +0000)]
Merge local FreeBSD changes to support -fformat-extensions.

17 years agoAdd FreeBSD suffix to GCC version string.
Alexander Kabaev [Sat, 19 May 2007 02:14:13 +0000 (02:14 +0000)]
Add FreeBSD suffix to GCC version string.

17 years agoFreeBSD uses unchanged versions of this files.
Alexander Kabaev [Sat, 19 May 2007 02:12:21 +0000 (02:12 +0000)]
FreeBSD uses unchanged versions of this files.

17 years agoFix a mbuf leak where sc_start fails or the protocol is none.
Andrew Thompson [Sat, 19 May 2007 01:40:18 +0000 (01:40 +0000)]
Fix a mbuf leak where sc_start fails or the protocol is none.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169695,
Alexander Kabaev [Sat, 19 May 2007 01:27:20 +0000 (01:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169695,
which included commits to RCS files with non-trunk default branches.

17 years agoGCC 4.2.0 release miscellaneous support libraries.
Alexander Kabaev [Sat, 19 May 2007 01:27:20 +0000 (01:27 +0000)]
GCC 4.2.0 release miscellaneous support libraries.