Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
746 Views

global pointer relative address out of range

While attempting to compile things lately, I've been getting a lot of 'global pointer relative address out of range' messages from the linker. These seem to arise mostly from calls to libc functions like fprintf and the like. When examining the disassembled code, I see it's doing a ldw r4, 0(gp) at the point at which the linker complains, but I'm not sure why that would be a problem. Any idea what could be causing this?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
34 Views

Whoops. Nevermind, I got it figured out. The explanation is a bit involved and probably irrelevant to everyone else, so I'll leave it at that.

Reply