This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Null function ptrs in HAL startup


Hi.
	I am slowly getting to the source of the problem.
	What I have found is, that in my config file, I include the I/O subsystem.
	This has a constructor in it. This explains the single entry in the constructor function table.
	Additionally the constructor has be compiled and has a address, but this address never gets into the
	table.  Table entry stays at 0....
	
	Any help would be appreciated

Roman F. Rycerz
Engr Section Mgr
Test & Tools
Motorola IESS, ACES, PCSG, PCG



-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Rycerz Roman-G11565
Sent: Friday, May 14, 2004 2:08 PM
To: Ecos-Discuss@Sources. Com
Subject: RE: [ECOS] Null function ptrs in HAL startup



	Target	MPC5554
	Platform	Custom Platform design, single chip system with 512kb external ram
	Compiler	gcc 2.95.3-10
	binutils	2.12

Roman


-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com] 
Sent: Friday, May 14, 2004 11:36 AM
To: Rycerz Roman-G11565
Cc: Ecos-Discuss@Sources. Com
Subject: Re: [ECOS] Null function ptrs in HAL startup



Rycerz Roman-G11565 said:
> Hi
>
>     I have been having this problem on and off for a while now. And
> now its made it to the top of the list.
>
>     when eCos is starting up there is a call to create all the
> constructors.  My problem is that sometimes this function ptr is NULL
>
>
>     Anyone have any ideas of what's going on ????

This should not happen (and I've never seen it).  If it's something that can be repeated, we'd like to understand how/why.

What platform?  What eCos configuration/template?
What compiler/binutils version?

>
>
> Roman F. Rycerz
> Engr Section Mgr
> Test & Tools
> Motorola IESS, ACES, PCSG, PCG
>
>
>
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]