notaz/cyclone68000

compile error, missing symbol CycloneJumpTab

rdaum opened this issue · 1 comments

rdaum commented

The generated Cyclone.h declares CycloneJumpTab extern long[]
but Cyclone.S does not have it in its .global

This seems to make the linker (arm-none-eabi-g++ 7.3.1 20180622) unhappy:

main.cc:(.text+0xa04): undefined reference to `CycloneJumpTab'

Adding it to the .global section of Cyclone.S seems to fix the link problem.

notaz commented

Thanks for the report, should be fixed in 5fc93bd.