This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [PATCH] Do not use 'bx' on armv4


On Thu, 2009-10-01 at 10:51 +0300, Kirill A. Shutemov wrote:
> armv4 has no thumb support and instruction 'bx'. Use 'mov pc' instead if
> __USE_BX__ is not defined.

I'm not sure that this patch is the right way to solve the problem;
interworking is mandatory for the EABI.  You would probably do better to
just use the linker flag --fix-v4bx to patch those instructions during
final link; I think recent gccs will do this automatically for
-march=armv4.

p.



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