summaryrefslogtreecommitdiffstats
path: root/usr.bin/bsdiff/bspatch
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2011-11-16 21:22:51 +0000
committerandreast <andreast@FreeBSD.org>2011-11-16 21:22:51 +0000
commit63ebeabf61e44c038e9846fe7aff65ac0e60eb2b (patch)
tree1f23a4c4ac976a87d8c1d7122b35927935f97af7 /usr.bin/bsdiff/bspatch
parentd6cb80ae7a3ec1ab78e0343333b2f35f0ed76577 (diff)
downloadFreeBSD-src-63ebeabf61e44c038e9846fe7aff65ac0e60eb2b.zip
FreeBSD-src-63ebeabf61e44c038e9846fe7aff65ac0e60eb2b.tar.gz
Copy over the ASM_DECLARE_FUNCTION_SIZE macro from linux64.h. This macro
declares the proper size of a function. Without this macro recent GNU as will complain about with: 'Error: .size expression for main does not evaluate to a constant.' Up to now we produce this: .L.main: .... .size main, .-main With the macro defined the output is this: .L.main: .... .size main,.-.L.main This affects only the 64-bit compiler. Tested with world and kernel on both, 32 and 64-bit powerpc.
Diffstat (limited to 'usr.bin/bsdiff/bspatch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud