I've created a little custom assembly for an interrupt autovector and 
jump table.

If I include my code directly with a .rel file like this:

asx8051 -logs custom.asm # gives me custom.rel
sdcc mymain.c custom.rel

I get a working jump table.

If I instead put my rel file in a library:

asx8051 -logs custom.asm
sdcclib custom.lib custom.rel
sdcc mymain.c custom.lib

I no longer have a functioning jump table.

I think sdcc only takes stuff from a lib file if the symbol is 
references.  Is there any way to make this work, or should I just use 
the .rel file explicitly?

-Dennis

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to