Re: fw: gcc v4 interworking patch
On Wed, Oct 10, 2007 at 01:32:06PM +0100, Wookey wrote:
> I gather from some comments Paul Brook made a while back that the
> above code is only part of the solution and that something similar is
> needed for library code too (or something like that). Clues welcome.
The library bits he was probably talking about are in ld now. You
have to make library entry points always ARM.
2006-08-18 Paul Brook <email@example.com>
* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
(elf32_arm_link_hash_newfunc): Initialize export_glue.
(record_arm_to_thumb_glue): Return stub symbol.
(elf32_arm_create_thumb_stub): New function.
(elf32_arm_to_thumb_stub): Use it.
(elf32_arm_to_thumb_export_stub): New function.
(elf32_arm_begin_write_processing): New function.
(allocate_dynrelocs): Allocate Arm stubs.