Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Modifications to do in Elf.java - (cdt-core)

> 
> Hi all,
> 
> I  would like the Elf.java file to be modified into 
> "org.eclipse.cdt.utils.elf" to take into account our machine (EM_ST100 
> with ELF machine number=60).
> Who is responsible to modify this file/plugin ?
> 
> I have to add the following lines:
> 
> public class ELFhdr {
>     ...
>     public final static int EM_ST100 = 60;
>     ...
> }
> 
> public Attribute getAttributes() throws IOException {
>     ...
>     case Elf.ELFhdr.EM_ST100:
>         attrib.cpu = "st100";
>         break;
>     ...
> }
> 
> Thanks for your answer

Ha !! the ever growing Elf class.
Make a PR with an attach patch(diff agaist the head), so we can track it for releng.
If you need more peer review, send it the patch to the cdt-patch mailing list.




Back to the top