[Bug gas/4303] gas 2.14 and over make a stabs symbol ABS while gas 2.13 makes it UND

2007-03-31 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2007-03-31 
11:11 ---
On looking into this a little, I believe your testcase is invalid.  The .stab
directives should only be used to create stab syms.  With a type of zero, ie.
N_UNDF, you are trying to create a non-stab symbol.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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 gas/4303] gas 2.14 and over make a stabs symbol ABS while gas 2.13 makes it UND

2007-03-31 Thread Quentin dot Godfroy at ens dot fr

--- Additional Comments From Quentin dot Godfroy at ens dot fr  2007-03-31 
17:29 ---
(In reply to comment #3)
> On looking into this a little, I believe your testcase is invalid.  The .stab
> directives should only be used to create stab syms.  With a type of zero, ie.
> N_UNDF, you are trying to create a non-stab symbol.

Indeed, but I don't know how to produce SETV or SETA symbols other than with a
.stabs directive (these work anyway).

-- 
   What|Removed |Added

   Severity|normal  |minor
 Status|RESOLVED|REOPENED
 Resolution|INVALID |


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

--- 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/4304] New: ld --fatal-warnings doesn't work

2007-03-31 Thread robert at linuxfromscratch dot org
Hello.

To reproduce this bug get yourself a copy of Gzip source and do:

env CFLAGS="-fpie -O2" \
 LDFLAGS="-Wl,--warn-shared-textrel -Wl,--fatal-warnings -pie" \
  ./configure &&
make

Then you should get something like this:

gcc -std=gnu99  -fpie -O2  -Wl,--warn-shared-textrel -Wl,--fatal-warnings -o 
gzip bits.o crypt.o deflate.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o 
unpack.o unzip.o util.o zip.o lib/libgzip.a
/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
 
warning: creating a DT_TEXTREL in a shared object.

and you might notice the warning is not fatal...

Tested on binutils-2.17 and binutils-070315.

P.S.
I also noticed adding -Werror and -Wfatal-errors GCC flags had no effect.

-- 
   Summary: ld --fatal-warnings doesn't work
   Product: binutils
   Version: 2.18 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: robert at linuxfromscratch dot org
CC: bug-binutils at gnu dot org


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

--- 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/4090] Can't use ADDR on section after

2007-03-31 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-04-01 00:51 ---
This patch:

http://sourceware.org/ml/binutils/2007-04/msg0.html

prints out the correct line number when reporting linker script problem.

-- 


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

--- 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