PATCH: Automatically apply an address offset when linking between XGATE and M68HC1x cores.

Sean Keys skeys@ipdatasys.com
Sun Jul 15 03:29:00 GMT 2012


Hi,

Users of XGATE and M68HC1x Binutils have requested that the linker apply 
an appropriate offset for one another, when linking between the two 
cores.  This  offset is only applied when the address is within "shared 
RAM".  If the address falls outside this area, no offset is applied and 
a warning is emitted.

Thanks,
Sean Keys


-------------- next part --------------
bfd/elf32-m68hc1x.c
2012-07-10  Sean Keys  <skeys@ipdatasys.com>
        * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code that
	enables the linker to offset addresses, when linking against
        symbols from the XGATE processor and vice versa.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32-m68hc1x.c.diff
Type: text/x-patch
Size: 4787 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20120715/8bb33e57/attachment.bin>


More information about the Binutils mailing list