|
From: | senthil.thecoder at gmail dot com |
Subject: | [Bug ld/20221] [avr] Wrong code generated with linker relaxation for source with alignment directives |
Date: | Fri, 10 Jun 2016 17:36:41 +0000 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |