bind9/lib
Sergei Trofimovich e39b03d06d configure.ac: autodetect 'pause' instruction presence on sparc
The change fixes the following build failure on sparc T3 and older CPUs:

```
sparc-unknown-linux-gnu-gcc ... -O2 -mcpu=niagara2 ... -c rwlock.c
{standard input}: Assembler messages:
{standard input}:398: Error: Architecture mismatch on "pause ".
{standard input}:398: (Requires v9e|v9v|v9m|m8; requested architecture is v9b.)
make[1]: *** [Makefile:280: rwlock.o] Error 1
```

`pause` insutruction exists only on `-mcpu=niagara4` (`T4`) and upper.

The change adds `pause` configure-time autodetection and uses it if available.
config.h.in got new `HAVE_SPARC_PAUSE` knob. Fallback is a fall-through no-op.

Build-tested on:

- sparc-unknown-linux-gnu-gcc (no `pause`, build succeeds)
- sparc-unknown-linux-gnu-gcc -mcpu=niagara4 (`pause`, build succeeds)

Reported-by: Rolf Eike Beer
Bug: https://bugs.gentoo.org/691708
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
(cherry picked from commit a5ad6b16c5)
2019-08-08 14:03:29 +02:00
..
bind9 check that bits 64..71 in a dns64 prefix are zero 2019-07-31 22:35:14 +10:00
dns Have the dns_client hold a .references until all external references are removed 2019-08-07 12:15:32 +02:00
irs Include <sched.h> where necessary for musl libc 2019-07-30 21:25:30 +02:00
isc configure.ac: autodetect 'pause' instruction presence on sparc 2019-08-08 14:03:29 +02:00
isccc Unify header ordering in unit tests 2019-07-30 21:25:45 +02:00
isccfg Include <sched.h> where necessary for musl libc 2019-07-30 21:25:30 +02:00
ns Tweak buffer sizes to prevent compilation warnings 2019-07-30 21:25:46 +02:00
samples add a search for GeoIP2 libraries in configure 2019-06-27 16:25:28 -07:00
win32/bindevt address win32 build issues 2018-05-22 16:32:21 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00