Re: [uClinux-dev] Shared Flat support for ARM

2007-03-08 Thread Greg Ungerer

Hi Vivtek,

vivek tyagi wrote:

I have started with 3.4.0,however the changes should be portable to
4.x as well.If I remember correctly the shared flat approach for m68k
was laid open in 2004(or much earlier) but I have never come across a
similar open source implementation for ARM..I am sorry but are we sure
that there is no previous implementations for ARM(except xflat ) which
has been made available with source code??


I don't know of any other work for shared FLAT files on ARM.

As Dave mentioned the other thing worth looking at is the
fdpic format, linux-2.6.x/fs/binfmt_elf_fdpic.c.
You may find it an easier mechanism for shared libs on
non-MMU ARM.

Regards
Greg




Hi Vivek,

vivek tyagi wrote:

I am working on providing shared flat support for ARM.The approach is
similar to the way it has been implemented for m68k.I am aware of the
changes required and tested  it by putting a manual hack in the flat
file.Before attempting to make the necessary changes in GCC,I wanted
to know if there is an open source implementation avilable(execpt for
xflat)?Which version of GCC would be suitable to make the changes
2.9.x ,3.4.x.?



use the most modern version you can. At least there is a chance
that the changes could be contributed back to gcc that way.

___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



--

Greg Ungerer  --  Chief Software Dude   EMAIL: [EMAIL PROTECTED]
Secure Computing CorporationPHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] Shared Flat support for ARM

2007-03-08 Thread David McCullough

Jivin vivek tyagi lays it down ...
> Hi Greg
> 
> I have started with 3.4.0,however the changes should be portable to
> 4.x as well.If I remember correctly the shared flat approach for m68k
> was laid open in 2004(or much earlier) but I have never come across a
> similar open source implementation for ARM..I am sorry but are we sure
> that there is no previous implementations for ARM(except xflat ) which
> has been made available with source code??

None to our knowledge at least,  you may also want to investigate 
the FDPIC format that Blackfin and FRV are using.  It's elf+sharedlibs
etc and it works much like normal elf shared libs AFAICT.

Cheers,
Davidm

> >Hi Vivek,
> >
> >vivek tyagi wrote:
> >>I am working on providing shared flat support for ARM.The approach is
> >>similar to the way it has been implemented for m68k.I am aware of the
> >>changes required and tested  it by putting a manual hack in the flat
> >>file.Before attempting to make the necessary changes in GCC,I wanted
> >>to know if there is an open source implementation avilable(execpt for
> >>xflat)?Which version of GCC would be suitable to make the changes
> >>2.9.x ,3.4.x.?
> 
> >use the most modern version you can. At least there is a chance
> >that the changes could be contributed back to gcc that way.
> ___
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] Shared Flat support for ARM

2007-03-07 Thread Greg Ungerer

Hi Vivek,

vivek tyagi wrote:

I am working on providing shared flat support for ARM.The approach is
similar to the way it has been implemented for m68k.I am aware of the
changes required and tested  it by putting a manual hack in the flat
file.Before attempting to make the necessary changes in GCC,I wanted
to know if there is an open source implementation avilable(execpt for
xflat)?Which version of GCC would be suitable to make the changes
2.9.x ,3.4.x.?


use the most modern version you can. At least there is a chance
that the changes could be contributed back to gcc that way.

Regards
Greg



Greg Ungerer  --  Chief Software Dude   EMAIL: [EMAIL PROTECTED]
Secure Computing CorporationPHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev