Mach-O alignment

View: New views
6 Messages — Rating Filter:   Alert me  

Mach-O alignment

by H. Peter Anvin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could anyone who has access to a Mac possibly look at nasm-Bugs-2840300?

        -hpa

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: Mach-O alignment

by Keith Kanios-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

H. Peter Anvin wrote:
> Could anyone who has access to a Mac possibly look at nasm-Bugs-2840300?
>
> -hpa
>
>
>  

I'll take a look at it within the next couple of weeks, if no one else
takes it.

Also, I do have modifications to correct %exitmacro that I do need to push.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: Mach-O alignment

by Keith Kanios-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

H. Peter Anvin wrote:
> Could anyone who has access to a Mac possibly look at nasm-Bugs-2840300?
>
> -hpa
>
>
>  

I'll take a look at it within the next couple of weeks, if no one else
takes it.

Also, I do have modifications to correct %exitmacro that I do need to push.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: Mach-O alignment

by Keith Kanios-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Keith Kanios wrote:

> H. Peter Anvin wrote:
>  
>> Could anyone who has access to a Mac possibly look at nasm-Bugs-2840300?
>>
>> -hpa
>>
>>
>>  
>>    
>
> I'll take a look at it within the next couple of weeks, if no one else
> takes it.
>
> Also, I do have modifications to correct %exitmacro that I do need to push.
>
>
>  

I've found and fixed the alignment issues. Symtab generation needed the
same treatment as the previous alignment fixes that were implemented
(using a section's address instead of adding the sizes of leading sections.)

However, I've only applied this fix to known/internal symbols within
write_symtab(). There is still external and undefined symbol processing
within write_symtab() that may need the same fix.

My quartz example, the x264 codebase, and the supplied code from BR
2840300 all pass the litmus test.

-Keith

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Parent Message unknown Re: Mach-O alignment

by Keith Kanios-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

H. Peter Anvin wrote:

> On 10/18/2009 06:19 AM, Cyrill Gorcunov wrote:
>> [Cyrill Gorcunov - Sun, Oct 18, 2009 at 12:51:09AM +0400]
>> | Hi Keith,
>> |
>> | sorry for disturbing you. Could you please
>> | spend a few minutes of your time and describe
>> | (in short form) your changes in macros area
>> | since nasm-2.07. I'm going to apply a patch
>> | for changes.src and to have a bit more detailed
>> | description on macros site would be just great.
>> |
>> |     -- Cyrill
>>
>> Keith, I've just pushed out the changes for changes.src.
>> Please review. I think "A number of enhancements/fixes in macros area."
>> is too short :)
>>
>
> Yes, if nothing else it should mention recursive macros and have a
> link to the appropriate section in the documentation.
>
>     -hpa

I will indeed take a look at it sometime this week. -Keith


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: Mach-O alignment

by Keith Kanios-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Keith Kanios wrote:

> H. Peter Anvin wrote:
>  
>> On 10/18/2009 06:19 AM, Cyrill Gorcunov wrote:
>>    
>>> [Cyrill Gorcunov - Sun, Oct 18, 2009 at 12:51:09AM +0400]
>>> | Hi Keith,
>>> |
>>> | sorry for disturbing you. Could you please
>>> | spend a few minutes of your time and describe
>>> | (in short form) your changes in macros area
>>> | since nasm-2.07. I'm going to apply a patch
>>> | for changes.src and to have a bit more detailed
>>> | description on macros site would be just great.
>>> |
>>> |     -- Cyrill
>>>
>>> Keith, I've just pushed out the changes for changes.src.
>>> Please review. I think "A number of enhancements/fixes in macros area."
>>> is too short :)
>>>
>>>      
>> Yes, if nothing else it should mention recursive macros and have a
>> link to the appropriate section in the documentation.
>>
>>     -hpa
>>    
>
> I will indeed take a look at it sometime this week. -Keith
>
>
>  

I've documented the Mach-O alignment bug fix, %deftok, %[i]rmacro and
%exitmacro in changes.src.

I've also pushed a fixed version of %exitmacro, as well as added
%exitmacro to nasmdoc.src.

-Keith

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel