This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Port to ARM Error: unknown pseudo-op: `.pad'
- From: "David Clark" <david dot clark at chtech dot com>
- To: libffi-discuss at sourceware dot org
- Date: Thu, 23 Oct 2008 17:44:02 -0500
- Subject: Port to ARM Error: unknown pseudo-op: `.pad'
I'm attempting to cross-compile libffi to a ARM XScale PXA255.
Configure succeeds but make fails with the following error:
src/arm/sysv.S:239: Error: unknown pseudo-op: `.pad'
I'm using libffi-3.0.6 source and gcc 3.3.2. As a test I commented
out line 239 of sysv.S which reads ".pad #16" and it builds
successfully.
1) Do you think this is a toolchain problem?
2) An thoughts on a fix/workaround?
3) An hints on what this assembly code is doing and the potential for
a patch? I don't know ARM assembly so I'd have to study a bit to feel
comfortable enough to modify the assembly without breaking it.
Regards,
David