This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gnu assembler question for ARM


Hi Nick,
Thanks a lot for your mail, I was not aware about the existence of the __builtin_offsetof "operator" (is it really an operator?). After having read your suggestions, and I decided to go the old-school way and #define all the offsets inside my asm file. I am trying to port a DSP application to an embedded device, and I am facing lots of problems with the floating point support. In order to fix this, I must program my routine within an external asm file, compile it using a (very) recent as (binutils-2.17) and link it to the rest of the application. Therefore I cannot use inline asm because it would not compile, and I cannot benefit of __builtin_offsetof.

Hard-coding all the offsets inside my asm with #define is not so bad after all. My code is not portable (it runs only on my CPU), so having a generic asm file was not the goal of it...

> Maybe you would like to extend the documentation ?  We are always will 
> to accept contributions that add to the manuals and tutorials.

I would like to improve your manual, but I could not add anything else than what you all explained to me.... :-|

Thanks again for all your support
Andrea


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]