diff options
author | andreast <andreast@FreeBSD.org> | 2011-11-16 21:22:51 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2011-11-16 21:22:51 +0000 |
commit | 63ebeabf61e44c038e9846fe7aff65ac0e60eb2b (patch) | |
tree | 1f23a4c4ac976a87d8c1d7122b35927935f97af7 /usr.bin/bsdiff/bspatch | |
parent | d6cb80ae7a3ec1ab78e0343333b2f35f0ed76577 (diff) | |
download | FreeBSD-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