On Sat, May 27, 2006 at 09:44:38PM -0400, Michael Dickens wrote: > >>> in test.asm (syntax could be wrong...) > >>> > >>> .globl _start_test, _end_test > >>> > >>> .align 16 > >>> _start_test: > >>> .db 1 > >>> .align 4 > >>> _end_test: > >>> > >>>Then use nm to extract the resulting symbol values, followed by some > >>>python, etc to compute difference. > >> > >>Yes, something like that, but '.align 16' is too big. sed could do > >>the trick too. > > > >By too big, do you mean that some tool complains? > > gcc complains that "Alignment too large: 15. assumed." I guess > alignment can be at most 2^15, but 2^16 is too big ... not sure what > the page size on OSX is but they're probably related. Anyway, testing > for ".align 4" is pretty safe. - MLD
OK. Thanks for the info. Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
