------- Additional Comments From pluto at agmk dot net 2005-07-26 18:32 ------- imho the code is good. assembler should converts the local references into relocs off the .text section. .section .rodata .zoo: .long .foo-.zoo .section .text .foo: nop Disassembly of section .text: 00000000 <.foo>: 0: 90 nop RELOCATION RECORDS FOR [.rodata]: OFFSET TYPE VALUE 00000000 R_386_PC32 .text (binutils-2.15.94.0.2.2)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313