[Bug gas/950] hppa-elf cross as doesn't handle .globl properly

2005-05-12 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-05-13 01:02 --- hppa-elf doesn't require a colon on labels; Anything starting in column 0 is a label. Your testcase has a funny label called ".global". -- What|Removed |Added ---

[Bug gas/950] New: hppa-elf cross as doesn't handle .globl properly

2005-05-12 Thread herbert at 13thfloor dot at
$ cat test.s .text .global : nop $ hppa-elf-as test.s test.s: Assembler messages: test.s:2: Error: Unknown opcode: `' -- Summary: hppa-elf cross as doesn't handle .globl properly Product: binutils Version: 2.16 Status: NEW

[Bug binutils/947] Extension to BFD and addr2line to print inlining chain

2005-05-12 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-05-12 20:38 --- Subject: Re: New: Extension to BFD and addr2line to print inlining chain On Thu, 2005-05-12 at 12:10, fnf at specifixinc dot com wrote: > The patch (which I'll attach separately) allows addr2line to

Re: [Bug binutils/947] New: Extension to BFD and addr2line to print inlining chain

2005-05-12 Thread James E Wilson
On Thu, 2005-05-12 at 12:10, fnf at specifixinc dot com wrote: > The patch (which I'll attach separately) allows addr2line to print > additional information about how we arrived at that address via several > levels of inlining: This binutils patch requires a gcc patch to emit the DW_AT_call_file a

[Bug gas/949] New: No relocation overflow error for 14 bit immediate values

2005-05-12 Thread hodaniel at student dot ethz dot ch
On sparc, instructions can hold a signed immediate value of 13 bits. Valid values are in the range [-4096, 4095] but gas allows values in the range [-8192, 8191] (= 14 bits). Consider the following code sniplet: -- .section".rodata" .align 8 outstr: .asciz "The Value

[Bug ld/948] Wrong LMA for section with empty input section.

2005-05-12 Thread fabrice_gautier at sdesigns dot com
--- Additional Comments From fabrice_gautier at sdesigns dot com 2005-05-12 19:55 --- Created an attachment (id=488) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=488&action=view) linker script and sample c code. This is a linker script and c code to reproduce the issue: $

[Bug ld/948] New: Wrong LMA for section with empty input section.

2005-05-12 Thread fabrice_gautier at sdesigns dot com
When an output section is empty, the AT() attribute is ignored and LMA=VMA in the output file. The LOADADDR(section) expression returns the correct value nonetheless. This is not really a problem when the section is really empty, ie size=0, but its a real problem when the section is not of size=0

[Bug binutils/947] New: Extension to BFD and addr2line to print inlining chain

2005-05-12 Thread fnf at specifixinc dot com
Consider the following test case: #include using namespace std; int main () { vector V(10); V[10] = 1; } Compile it like: g++ -O2 -ggdb -o t t.cc Run gdb and examine the first few instructions in main: (gdb) x/10i main 0x8048880 : push %ebp 0x8048881 :

[Bug binutils/947] Extension to BFD and addr2line to print inlining chain

2005-05-12 Thread fnf at specifixinc dot com
--- Additional Comments From fnf at specifixinc dot com 2005-05-12 19:11 --- Created an attachment (id=487) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=487&action=view) Patch to implement unwinding of inlining chains -- http://sources.redhat.com/bugzilla/show_bug.cgi?

[Bug ld/834] IA64: Change br to brl for "far" branches when possible

2005-05-12 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-05-12 16:38 --- Slot 0 has to be NOP only for BBB. Here is an update. http://sourceware.org/ml/binutils/2005-05/msg00431.html -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=834 --- You are receiving this mail because

[Bug ld/834] IA64: Change br to brl for "far" branches when possible

2005-05-12 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-05-12 16:12 --- A patch is postd at http://sourceware.org/ml/binutils/2005-05/msg00428.html -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=834 --- You are receiving this mail because: --- You are on the CC list fo

[Bug binutils/945] [PATCH] dlltool import library compatibility with BCPP

2005-05-12 Thread vanveghel at home dot nl
--- Additional Comments From vanveghel at home dot nl 2005-05-12 12:10 --- .. and then it only seems to work if there's only one symbol being exported; otherwise it'll try to create and subsequently open the same file multiple times - still, the idea is there. I can't quite seem to pin-p

[Bug binutils/945] New: [PATCH] dlltool import library compatibility with BCPP

2005-05-12 Thread vanveghel at home dot nl
Through circumstances beyond my control *cough* I've recently had to write some software in Borland C++ Builder 6 - now one of the libraries that I need I've created with cygwin / MingW; however, converting the .LIB created by dlltool for use with Borland (COFF2OMF) doesn't exactly work as it's sup

[Bug binutils/945] [PATCH] dlltool import library compatibility with BCPP

2005-05-12 Thread vanveghel at home dot nl
--- Additional Comments From vanveghel at home dot nl 2005-05-12 09:18 --- Oh, the attachment of course depends on dll_name being relative to the actual path of the DLL (since it tries to open it) - that should probably be looked at. -- http://sources.redhat.com/bugzilla/show_bug.cgi

[Bug binutils/945] [PATCH] dlltool import library compatibility with BCPP

2005-05-12 Thread vanveghel at home dot nl
--- Additional Comments From vanveghel at home dot nl 2005-05-12 09:07 --- Created an attachment (id=486) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=486&action=view) dlltool import library compatibility with BCPP -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=