[mc1322x] no symbol for _rom_data_init
Mariano Alvira
mar at devl.org
Mon Apr 19 10:51:38 EDT 2010
On Sun, Apr 18, 2010 at 11:35:54PM -0500, Dean Hall wrote:
> I've cleaned up my build (on a Mac) to where I only have one (repeated)
> warning and one error:
>
> warning: interworking not enabled.
> and
> ./src/start-romvars.o:../src/start.S:124: undefined reference to `no
> symbol'
>
> Note: start.S:124 is: bl _rom_data_init+.-base
> and I find that it is _rom_data_init that causes the `no symbol'
> error
> even though _rom_data_init is clearly set on line 58.
>
> I read through this maillist's archives about _rom_data_init (Happy 1
> year since first post on this list!) and I am still at a loss to figure
> out why this error occurs. I am disappointed that I specifically enabled
> interworking when I obtained the toolchain, but yet interworking appears
> to be disabled. I hope that this _rom_data_init error will go away if I
> fix my interworking.
I haven't looked into this in detail, but I wanted to add that, if I
remember correctly, _rom_data_init is in ARM (not THUMB) and it's the
only ROM call I know that's like that.
My gut is telling me you have two problems, one with the interworking
thing and the other with some stupid assembler syntax thing. I think
you should be able to hard code some number here to get that to jump
to the right place (just to get going and separate that problem from
the rest)...
-Mar.
More information about the mc1322x
mailing list