hi, i'm using the latest release of devkitarm and am trying to compile a piece of assembly code
but i get an error at the following thumb instruction:
ldr r1,[r0,#0x20]
error: cannot represent THUMB_OFFSET relocation in this object file format
im using the following to compile:
arm-eabi-gcc -mthumb-interwork -specs=gba.specs test.s
could someone please help me out?
error: cannot represent THUMB_OFFSET
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: error: cannot represent THUMB_OFFSET
We'll need some more details of your problem, I can't reproduce this with my install.
Which OS are you using? How did you install? It would help if you showed the contents of test.s too
Which OS are you using? How did you install? It would help if you showed the contents of test.s too
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests