[Bug gas/857] New: Gas doesn't warn ".set x, y" when "y' is undefined

2005-04-17 Thread hjl at lucon dot org
bash-3.00$ cat y.s
.set x, y
bash-3.00$ as -o y.o y.s
bash-3.00$ readelf -s y.o

Symbol table '.symtab' contains 5 entries:
   Num:Value  Size TypeBind   Vis  Ndx Name
 0:  0 NOTYPE  LOCAL  DEFAULT  UND
 1:  0 SECTION LOCAL  DEFAULT1
 2:  0 SECTION LOCAL  DEFAULT2
 3:  0 SECTION LOCAL  DEFAULT3
 4:  0 NOTYPE  GLOBAL DEFAULT  UND y

-- 
   Summary: Gas doesn't warn ".set x,y" when "y' is undefined
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=857

--- 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/858] New: Linker should abort when there is reference to discarded section

2005-04-17 Thread hjl at lucon dot org
Gcc was broken due to a back checkin:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070

Linker did complain, but it kept going and generated a bad output.
I think linker should abort when there is reference in non-debug
section to discarded section.

-- 
   Summary: Linker should abort when there is reference to discarded
section
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=858

--- 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/857] Gas doesn't warn ".set x,y" when "y' is undefined

2005-04-17 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2005-04-18 
00:53 ---
I don't think gas should warn in this case.  Setting a symbol to an expression
involving undefined symbols is quite a reasonable thing to do, so long as the
expression is resolved later to something that can be represented by the target
relocations.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=857

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