[Bug gas/2946] jmp to a weak symbol jumps to a wrong address

2006-07-22 Thread vincent dot riviere at freesbee dot fr
--- Additional Comments From vincent dot riviere at freesbee dot fr 2006-07-22 12:52 --- Sorry, you're right. The jump is relocated. But I'm very surprised. Without the "weak" keyword, gas generates a relative jump and no relocation entry. Good. With the "weak" keyword, gas generates

[Bug gas/2946] jmp to a weak symbol jumps to a wrong address

2006-07-22 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2006-07-22 13:00 --- No, gas should not resolve this branch. There may be a strong symbol "mylabel" in another file, in which case the branch should go to that symbol. -- http://sourceware.org/bugzilla/show_bug.cgi?id=294

[Bug gas/2946] jmp to a weak symbol jumps to a wrong address

2006-07-22 Thread vincent dot riviere at freesbee dot fr
--- Additional Comments From vincent dot riviere at freesbee dot fr 2006-07-22 15:00 --- Here are detailed tests. # target i686-pc-cygwin # gas 2.16.91 20050610 on host Windows XP SP2 #