[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: Re: [Discuss-gnuradio] configure tests?
From: Eric Blossom <eb () comsec ! com>
Date: 2006-05-28 14:48:31
Message-ID: 20060528144831.GA19727 () comsec ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic