|
From: | Michael Dickens |
Subject: | Re: [Discuss-gnuradio] configure tests? |
Date: | Sat, 27 May 2006 21:44:38 -0400 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |