--- Comment #2 from pinskia at gcc dot gnu dot org 2010-06-14 16:34 ---
What version of as are you using? Because the assembler does some
optimizations/changes the load address and it looks like rather an assembler
issue rather than a compiler one.
--
pinskia at gcc dot gnu dot org
--- Comment #4 from wesley at terpstra dot ca 2010-06-14 17:22 ---
Created an attachment (id=20909)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20909&action=view)
Libraries needed to demonstrate the problem in a linked program
To be able to run the complete program:
gcc -std=gn
--- Comment #5 from wesley at terpstra dot ca 2010-06-14 17:25 ---
In case it is a binutils problem, I've attached a '.a' file sufficient to fully
link the program. To get to the problem jump is pretty easy:
gdb ./mlyacc.bad
break Chunk6
run
s
OUTPUT:
2926 nextFun = 2736;
(gd