bind9/lib
Sergei Trofimovich a5ad6b16c5 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>
2019-08-08 07:15:04 -04:00
..
bind9 check that bits 64..71 in a dns64 prefix are zero 2019-07-31 21:51:11 +10:00
dns Have the dns_client hold a .references until all external references are removed 2019-08-07 12:43:13 +02:00
irs Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
isc configure.ac: autodetect 'pause' instruction presence on sparc 2019-08-08 07:15:04 -04:00
isccc Unify header ordering in unit tests 2019-07-30 21:25:15 +02:00
isccfg Include <sched.h> where necessary for musl libc 2019-07-30 21:08:40 +02:00
ns Tweak buffer sizes to prevent compilation warnings 2019-07-30 21:25:18 +02:00
samples Use coccinelle to cleanup the failure handling blocks from isc_mem_strdup 2019-07-23 15:32:36 -04:00
win32/bindevt Convert *.vcxproj.user to CRLF line endings 2019-03-08 18:01:48 +01: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