freebsd-skq/libexec
Dimitry Andric 918428b837 Fix the following -Werror warning from clang 3.5.0, while building
rtld-elf for powerpc 32 bit:

libexec/rtld-elf/powerpc/reloc.c:486:6: error: taking the absolute value of unsigned type 'Elf_Addr' (aka 'unsigned int') has no effect [-Werror,-Wabsolute-value]
        if (abs(offset) < 32*1024*1024) {     /* inside 32MB? */
            ^
libexec/rtld-elf/powerpc/reloc.c:486:6: note: remove the call to 'abs' since unsigned values cannot be negative
        if (abs(offset) < 32*1024*1024) {     /* inside 32MB? */
            ^~~
1 error generated.

Cast 'offset' to int, since that was intended, and should be safe to do
on architectures with 32-bit two's complement ints.

Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D1387
2014-12-28 19:55:44 +00:00
..
atf Convert to LIBADD 2014-11-25 21:18:18 +00:00
atrun Convert to LIBADD 2014-11-25 21:18:18 +00:00
bootpd
casper Convert to LIBADD 2014-11-25 21:18:18 +00:00
comsat
dma Convert to LIBADD 2014-11-25 21:18:18 +00:00
dma-mbox-create
fingerd Convert to LIBADD 2014-11-25 21:18:18 +00:00
ftpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
getty Convert to LIBADD 2014-11-25 21:18:18 +00:00
hyperv
mail.local Convert to LIBADD 2014-11-25 21:18:18 +00:00
mknetid
pppoed Convert to LIBADD 2014-11-25 21:18:18 +00:00
rbootd
revnetgroup
rlogind Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rquotad Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rstatd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rusersd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rwalld Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.sprayd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rshd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rtld-aout
rtld-elf Fix the following -Werror warning from clang 3.5.0, while building 2014-12-28 19:55:44 +00:00
save-entropy This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. 2014-10-30 21:21:53 +00:00
smrsh Convert to LIBADD 2014-11-25 21:18:18 +00:00
talkd
tcpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
telnetd Convert to LIBADD 2014-11-25 21:18:18 +00:00
tests
tftp-proxy
tftpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
ulog-helper Convert to LIBADD 2014-11-25 21:18:18 +00:00
ypxfr Convert to LIBADD 2014-11-25 21:18:18 +00:00
Makefile HYPERV isn't available on all architectures, but just on by default 2014-10-16 00:33:06 +00:00
Makefile.amd64 HYPERV isn't available on all architectures, but just on by default 2014-10-16 00:33:06 +00:00
Makefile.i386 HYPERV isn't available on all architectures, but just on by default 2014-10-16 00:33:06 +00:00
Makefile.inc
Makefile.pc98 Add an "empty" Makefile.pc98 because it doesn't need/want HYPERV. It 2014-10-16 14:08:59 +00:00