Fix typo in lib/atf/libatfc++/Makefile

LIBATFC should be LIBATF_C; this was missed in the initial import
(r241823)

PR: 192731
MFC after: 3 days
Phabric: D619
Approved by: rpaulo (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270116 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add -ll to LDADD to fix "make checkdpadd"

Phabric: D622
MFC after: 2 weeks
Approved by: rpaulo (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270117 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add LIBUTIL to DPADD

This will fix "make checkdpadd"

MFC after: 5 days
PR: 192759
Approved by: rpaulo (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270118 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Rename ca keyboard to ca-fr

"ca" will shortly be used for the Canadian Multilingual keyboard.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270119 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Expand the elf brandelf infrastructure to give access to the whole ELF
header (Elf_Ehdr) to determine if a particular interpretor wants to
accept it or not. Use this mechanism to filter EABI arm on OABI arm
kernels, and vice versa. This method could also be used to implement
OABI on EABI arm kernels, if desired, or to allow a single mips kernel
to run o32, n32 and n64 binaries.

Differential Revision: https://reviews.freebsd.org/D609


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270123 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
/usr/libexec/ld.so.1 never was a thing on FreeBSD/arm. This was the
FreeBSD 3.x and 4.x run time linker. FreeBSD/arm's first release was
5.0. Retire this long-dead code.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Zero buffer before request.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import the tools used to convert the keymap files from SYSCONS (in locale
dependent encoding) to NEWCONS (Unicode).

The file "LANG.map" is used to convert INDEX.keymaps. It has 3 columns:
- the language ID as used in the source file
- the language ID to be used in the generated file (e.g. "iw" -> "he")
- the encoding of the menu texts for this language
The conversion result is written to STDOUT.

The file "KBDFILES.map" is used to batch convert keymap files. It's
columns are:
- the encoding used for the keymap sounce file
- the name of the source file
- the name of the generated file
The output files are created in the TEMP sub-directory of the vt keymap
directory, in order to preserve (possibly uncommitted) keymap files in
/usr/src/share/vt/keymaps.

The convert-keymap.pl script can be directly executed by passing the
source file name and the encoding on the command line. It writes to
STDOUT and generates hex Unicode codepoints by default. (This can be
changed to decimal in the script.)

While written for the one-time conversion of the SYSCONS keymaps into
the format required for NEWCONS, I think these tools may be useful for
easy conversion of possible further SYSCONS keymap files, that have not
been committed to the source tree.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270131 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Do not look for more matching lines if -L is specified

Submitted by:   eadler (based on)
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add more USB class codes.

Obtained from:	libusb project at SourceForge
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR:		192755
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove vestiges of previous autofs.

Discussed with:	alfred@
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add Canadian Bilingual keyboard


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270142 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables

This fixes "make checkdpadd"

Phabric: D620
Approved by: jmmv (mentor)
PR: 192729
MFC after: 5 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace DPADD with DPSRCS to fix "make checkdpadd"

Phabric: D625
Approved by: jmmv (mentor)
Reviewed by: dim
PR: 192734
MFC after: 2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270145 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add LIBCRYPTO and LIBSSL to DPADD

This fixes "make checkdpadd"

Phabric: D621
PR: 192761
Approved by: rpaulo (mentor)
MFC after: 2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Backport r197824, r213427 and r213960 from LLVM trunk:

  r197824 | rdivacky | 2013-12-20 19:08:54 +0100 (Fri, 20 Dec 2013) | 2 lines

  Implement initial-exec TLS for PPC32.

  r213427 | hfinkel | 2014-07-19 01:29:49 +0200 (Sat, 19 Jul 2014) | 7 lines

  [PowerPC] 32-bit ELF PIC support

  This adds initial support for PPC32 ELF PIC (Position Independent Code; the
  -fPIC variety), thus rectifying a long-standing deficiency in the PowerPC
  backend.

  Patch by Justin Hibbits!

  r213960 | hfinkel | 2014-07-25 19:47:22 +0200 (Fri, 25 Jul 2014) | 3 lines

  [PowerPC] Support TLS on PPC32/ELF

  Patch by Justin Hibbits!

Reviewed by: jhibbits
Approved by: dim


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the patch commited in r270147.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Deal explicitly with possible failures of make_dev_alias_p() in GEOM.

Submitted by:   Mariusz Zaborski <oshogbo@FreeBSD.org>
MFC after:      3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
There exists a possible sequence of page table page allocation failures
starting with a superpage demotion by pmap_enter() that could result in
a PV list lock being held when pmap_enter() is just about to return
KERN_RESOURCE_SHORTAGE.  Consequently, the KASSERT that no PV list locks
are held needs to be replaced with a conditional unlock.

Discussed with:	kib
X-MFC with:	r269728
Sponsored by:	EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@270151 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f