freebsd-dev/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 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
casper Convert to LIBADD 2014-11-25 21:18:18 +00:00
comsat Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
dma Convert to LIBADD 2014-11-25 21:18:18 +00:00
dma-mbox-create NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
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 Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
mail.local Convert to LIBADD 2014-11-25 21:18:18 +00:00
mknetid use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pppoed Convert to LIBADD 2014-11-25 21:18:18 +00:00
rbootd Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
revnetgroup use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
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 More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
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 Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
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 Build and install the atf tests. 2013-11-08 14:33:41 +00:00
tftp-proxy Make WARNS=6 the default for libexec/. 2010-01-02 09:50:19 +00:00
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 Make WARNS=6 the default for libexec/. 2010-01-02 09:50:19 +00:00
Makefile.pc98 Add an "empty" Makefile.pc98 because it doesn't need/want HYPERV. It 2014-10-16 14:08:59 +00:00