discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] configure tests?


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] configure tests?
Date: Sun, 28 May 2006 07:48:31 -0700
User-agent: Mutt/1.5.9i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]