This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi 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]

Memory alignment bug under iOS


Hi,

I believe there is a bug in sysv.S's usage of .align 0 under ARM. It
wrongfully assumes that Apple's Assembler interprets .align 0 as .align 2.
GNU's Assembler certainly does this:
http://sourceware.org/binutils/docs/as/ARM-Directives.html

but Apple's does not:
https://developer.apple.com/library/mac/#documentation/developertools/Reference/Assembler/040-Assembler_Directives/asm_directives.html

As a result, the generated code does not align memory correctly. I look
forward to your response.

Thanks,
Gili
-- 
View this message in context: http://old.nabble.com/Memory-alignment-bug-under-iOS-tp34299787p34299787.html
Sent from the Sourceware - libffi-discuss mailing list archive at Nabble.com.


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