https://sourceware.org/bugzilla/show_bug.cgi?id=20221

--- Comment #2 from Senthil Kumar Selvaraj <senthil.thecoder at gmail dot com> 
---
There's another related testcase that fails even with or without the current
fix in master. It fails on binutils-2_26 branch too.

.text
.global _start, dest
_start: 
  jmp dest
  .align        1
dest:
  nop
  rjmp dest


With 

$ avr-gcc -mmcu=atmega1280 -Os -mrelax test.s -nostartfiles
$ avr-objdump -S a.out

00000000 <__ctors_end>:
   0:   00 c0           rjmp    .+0             ; 0x2 <dest>

00000002 <dest>:
   2:   00 00           nop
   4:   00 c0           rjmp    .+0             ; 0x6 <_etext>

which is obviously wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to