Re: [uClinux-dev] elf2flt

From: David McCullough (davidm@lineo.com)
Date: Sun Jan 28 2001 - 18:05:48 EST


Jivin FAZIO,VINCENT (Non-HP-Australia,ex2) lays it down ...
> I'm thinking about modifying the elf2flt program from 68k-specific to
> Hitachi SH-specific. I've looked at the code, there is nothing much to
> change except for linking in the correct bfd library and modifying the 68k
> relocations to be SH-specific. 
> 
> Does anyone know if there's anything else I should be doing?
> 
> I have noticed that the code doesn't transfer the .rodata section of the ELF
> file into the FLT file. Anyone know why this is so?

You will probably find that the linker script that is used to link the elf
file includes the .rodata section in the data (or maybe even the text
section).  This means there is no .rodata in the file that you run elf2flt
on.

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (The Embedded Solutions Company)
davidm@lineo.com   Fx: +61 7 3891 3630  PO Box 925, Kenmore QLD 4069, Australia
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:28 EDT