andreast 63ebeabf61 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.
2011-11-16 21:22:51 +00:00
..
2011-08-01 22:21:18 +00:00
2010-11-09 18:32:57 +00:00
2011-07-14 14:01:36 +00:00
2010-02-28 22:06:07 +00:00
2010-10-08 09:43:06 +00:00
2011-05-22 22:14:15 +00:00
2011-03-12 07:03:06 +00:00
2011-06-18 13:56:33 +00:00
2011-06-09 22:52:57 +00:00
2011-05-11 21:52:26 +00:00
2011-05-25 14:13:53 +00:00
2010-03-22 11:00:57 +00:00
2010-10-28 19:10:15 +00:00
2011-04-28 14:43:38 +00:00
2011-10-27 08:44:07 +00:00
2011-11-01 02:01:55 +00:00
2010-11-03 10:46:39 +00:00