libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Kee
libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Keep those.Sponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D42385(cherry picked from commit 559a218c9b257775fb249b67945fe4a05b7a6b9f)
show more ...
Restore blank line after #include
Remove $FreeBSD$: two-line nroff patternRemove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .S patternRemove /^\s\.(asciz|ident)\s+\"\$FreeBSD\$\".*\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSDThe SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catchup to that fact and revert to their recommended match of BS
spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSDThe SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
libc: Simplify soft-float on 32-bit armSimplify the tests for 32-bit arm soft float support. For the filesincluded only on arm, drop the test entirely. For others, testMACHINE_CPUARCH against arm
libc: Simplify soft-float on 32-bit armSimplify the tests for 32-bit arm soft float support. For the filesincluded only on arm, drop the test entirely. For others, testMACHINE_CPUARCH against arm.No functional change intended. File lists appear the same before / afterthe change.Sponsored by: NetflixReviewed by: emasteDifferential Revision: https://reviews.freebsd.org/D38582
libc: Remove _get_tp() and _set_tp().Their uses have been replaced by _tcb_get() and _tcb_set() from<machine/tls.h>.Reviewed by: kib, jrtc27Sponsored by: The University of Cambridge, Google Inc
libc: Remove _get_tp() and _set_tp().Their uses have been replaced by _tcb_get() and _tcb_set() from<machine/tls.h>.Reviewed by: kib, jrtc27Sponsored by: The University of Cambridge, Google Inc.Differential Revision: https://reviews.freebsd.org/D33354
libc: add _get_tp() private functionwhich returns pointer to tcbSponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D29623
Remove the last users of ARM_TP_ADDRESSThis was only needed on 32-bit arm prior to ARMv6. As we only supportARMv6 or later remove it.Reviewed by: mannuSponsored by: Innovate UKDifferential Rev
Remove the last users of ARM_TP_ADDRESSThis was only needed on 32-bit arm prior to ARMv6. As we only supportARMv6 or later remove it.Reviewed by: mannuSponsored by: Innovate UKDifferential Revision: https://reviews.freebsd.org/D29624
armv6 soft float build fixedAdd ifdefs in the assembler for soft-float compile case.Submitted by: Hiroki MoriReviewed by: ray@Differential Review: https://reviews.freebsd.org/D22352
Add arm_sync_icache() and arm_drain_writebuf() sysarch syscall wrappers.NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE andARM_DRAIN_WRITEBUF sysarch operations. This change
Add arm_sync_icache() and arm_drain_writebuf() sysarch syscall wrappers.NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE andARM_DRAIN_WRITEBUF sysarch operations. This change adds compatible functionsto our library. This should make it easier for various upstream sources tosupport *BSD operating systems with a single variation of cache maintencecode in tools like interpreters and JIT compilers.I consider the argument types passed to arm_sync_icache() to be especiallyunfortunate, but this is intended to match the other BSDs.Differential Revision: https://reviews.freebsd.org/D20906
Reorganize the SRCS lists as one file per line, and then alphabetize them.No functional changes.
libc: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorp
libc: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
spdx: initial adoption of licensing ID tags.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensou
spdx: initial adoption of licensing ID tags.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.Special thanks to Wind River for providing access to "The Duke ofHighlander" tool: an older (2014) run over FreeBSD tree was useful as astarting point.Initially, only tag files that use BSD 4-Clause "Original" license.RelNotes: yesDifferential Revision: https://reviews.freebsd.org/D13133
Save VFP state in getcontext(3) on ARM.This is a last followup of r315974, which fixes userland partof VFP save/restore problems described in PR 217611.PR: 217611MFC after: 2 weeks
Support armv7 builds for userlandMake armv7 as a new MACHINE_ARCH.Copy all the places we do armv6 and add armv7 as basically analias. clang appears to generate code for armv7 by default. armv7 h
Support armv7 builds for userlandMake armv7 as a new MACHINE_ARCH.Copy all the places we do armv6 and add armv7 as basically analias. clang appears to generate code for armv7 by default. armv7 hardfloat isn't supported by the the in-tree gcc, so it hasn't beenupdated to have a new default.Support armv7 as a new valid MACHINE_ARCH (and by extensionTARGET_ARCH).Add armv7 to the universe build.Differential Revision: https://reviews.freebsd.org/D12010
Start to remove _libc_arm_fpu_present checks. We don't support the VFP onARMv4 or ARMv5, and only support it when it's present on ARMv6 and later.As such always store the VFP register in setjmp and
Start to remove _libc_arm_fpu_present checks. We don't support the VFP onARMv4 or ARMv5, and only support it when it's present on ARMv6 and later.As such always store the VFP register in setjmp and restore them inlongjmp when building for armv6.Reviewed by: mmelSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D11393
Make armv6 hard float abi by default. Kill armv6hf.Allow CPUTYPE=soft to build the current soft-float abi libraries.Add UPDATING entry to announce this.Approved by: re@ (gjb)
Annotate arm userspace assembler sources stating their tolerance tothe non-executable stack.Reviewed by: andrewSponsored by: The FreeBSD Foundation
Add include for declaration of _set_tp(). Eliminates -Wmissing-prototypes warnings.
Remove __ARM_EABI__ from more places in libc as this is the only ARM ABIwe support.
Teach bits of libc about Thumb. This adds the if-then instructions neededto handle the ARM conditional execution.While here fix a bug found by this in the hard-float code, cc is theopposite of cs
Teach bits of libc about Thumb. This adds the if-then instructions neededto handle the ARM conditional execution.While here fix a bug found by this in the hard-float code, cc is theopposite of cs. The former is used for 'less than' in floating-point codeand is executed when the C (carry) bit is clear, the latter is used whengreater than, equal, or unordered, and is executed when the C bit is set.
123