[Bug gas/3433] New: Incorrect line numbers with certain branches

2006-10-30 Thread andrew dot stubbs at st dot com
Given the following example:


.file 1 "test.c"
.text
.loc 1 2
nop
.loc 1 1000
bt 0f
nop

.align 9, 0
0:


The SH assembler produces an object file with the wrong line numbers in the
debug info.

In this case the offset is too large for the 'bt' instruction so it is converted
to two branches. In examples where this is not the case the line numbering is 
fine.

$ ./gas/as-new -o test2.o test2.s
test2.s: Assembler messages:
test2.s:6: Warning: overflow in branch to L1; converted into longer instruction
sequence
$ ./binutils/objdump -dl test2.o

test2.o: file format elf32-sh

Disassembly of section .text:

 <.text>:
blah/test.c:2
   0:   00 09   nop
   2:   8b 01   bf  0x8
   4:   a0 fc   bra 0x200
blah/test.c:1000
   6:   00 09   nop
   8:   00 09   nop
...

Note that line 1000 is supposed to start two instructions earlier; before the 
'bf'.

-- 
   Summary: Incorrect line numbers with certain branches
   Product: binutils
   Version: 2.18 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: andrew dot stubbs at st dot com
CC: bug-binutils at gnu dot org
GCC target triplet: sh-*-*


http://sourceware.org/bugzilla/show_bug.cgi?id=3433

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/3435] New: ld error message cryptic when issuing both -lssp and -nostdlib

2006-10-30 Thread smithj at rpath dot com
[EMAIL PROTECTED] ~ $   gcc  -o foo foo.c -lssp -static -nostartfiles -nostdlib
/usr/bin/ld: failed to set dynamic section sizes: No such file or directory
collect2: ld returned 1 exit status

That should be a bit more clear as to what the real error is.

-- 
   Summary: ld error message cryptic when issuing both -lssp and -
nostdlib
   Product: binutils
   Version: 2.17
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: smithj at rpath dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=3435

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/3111] LD very slow linking object files containing dwarf2 symbols

2006-10-30 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2006-10-30 23:44 ---
http://sourceware.org/ml/binutils/2006-08/msg00334.html

is checked in. The maining one is

http://sourceware.org/ml/binutils/2006-04/msg00329.html

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3111

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils