From: DENX Support System Date: Fri, 31 Mar 2006 23:50:13 +0200 Subject: [DNX#2006033142000347] [U-Boot-Users] [PATCH] mipsel support Message-ID: <1143841813.953312.250765166@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006033142000347] was created: > Hello, > > I suggest the following patches in order to allow compilation for MIPS > little endian boards. > > Index: examples/Makefile > =================================================================== > RCS file: > /home/develop/cvs_private/uboot-mips-exadron/examples/Makefile,v > retrieving revision 1.1.1.1 > diff -u -r1.1.1.1 Makefile > --- a/examples/Makefile 16 Sep 2005 12:14:21 -0000 1.1.1.1 > +++ b/examples/Makefile 16 Sep 2005 14:19:32 -0000 > @@ -120,7 +120,7 @@ > $(AR) crv $@ $(LIBOBJS) > > %: %.o $(LIB) > - $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \ > + $(LD) -g $(PLATFORM_LDFLAGS) $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \ > -o $@ -e $(<:.o=) $< $(LIB) \ > -L$(gcclibdir) -lgcc > %.srec: % > Index: examples/mips.lds > =================================================================== > RCS file: > /home/develop/cvs_private/uboot-mips-exadron/examples/mips.lds,v > retrieving revision 1.1.1.1 > diff -u -r1.1.1.1 mips.lds > --- a/examples/mips.lds 16 Sep 2005 12:14:21 -0000 1.1.1.1 > +++ b/examples/mips.lds 16 Sep 2005 14:19:32 -0000 > @@ -24,7 +24,7 @@ > /* > OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") > */ > -OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", > "elf32-tradbigmips") > +OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", > "elf32-tradlittlemips") > OUTPUT_ARCH(mips) > SECTIONS > { > > Ciao, > > Rodolfo > > -- > > GNU/Linux Solutions e-mail: giometti at linux.it > Linux Device Driver giometti at enneenne.com > Embedded Systems home page: giometti.enneenne.com > UNIX programming phone: +39 349 2432127 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users Your U-Boot support team