[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    RE: [uClinux-dev] arm-uclinux-gcc problem with relocation symbols
From:       Durgesh Pattamatta <DPattamatta () valencesemi ! com>
Date:       2001-10-30 18:22:37
[Download RAW message or body]

Hi Tom,

I am not using any special linker script for building userland aplications.
But I only modifed armelf_uclinux.xr file as suggested by the article for
arm tool chain located at http://home.at/uldp/uclinux_doc_3.html. 
For compiling uclinux kernel I am using the standard vmlinux.lds present
under uclinux-2.4.x/arch/armnommu/ directory.
I will greatly appriciate if you could let me know how to write this linker
script file or if you could mail me any standard linker script file you
have.

with best regards,
dyurgesh


-----Original Message-----
From: Tom Walsh [mailto:tom@cyberiansoftware.com]
Sent: Friday, October 26, 2001 7:42 PM
To: uclinux-dev@geekcreek.net
Subject: Re: [uClinux-dev] arm-uclinux-gcc problem with relocation
symbols


Durgesh Pattamatta wrote:
> 
> Hi,
> 
> I am new to uclinux porting. I am trying to port Uclinux to ARM946ES (ARM
v5
> architecture) based board. I was able to port the kernel and get to the
> point of loading the "/bin/init" program from the file system. I am facing
> problem with relocation table in 'bflt' image for init. I used armtool
chain
> available under http://www.uclinux.org/pub/uClinux/ports/arm7tdmi/. I used
> the following compiler and linker options for init program
> CFLAGS= -O2 -fpic -msingle-pic -mdiasble-got
> LDFLAGS= -r -lc -lcrypt
> 

What does your linker script file look like.  On the m68k platforms we
have a *.ld file, I think that ARM uses a *.lds file?  Send that linker
file to us, something tells me that you have an improperly described
memory map that is the problem, maybe..

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------
This message resent by the uclinux-dev@uclinux.org list server
http://www.uClinux.org/
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic