[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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  <paul@codesourcery.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.
        (elf_backend_begin_write_processing): Define.
        (elf32_arm_symbian_begin_write_processing): Remove
	ATTRIBUTE_UNUSED.
        Call elf32_arm_begin_write_processing.

-- 
Daniel Jacobowitz
CodeSourcery



Reply to: