[Bug ld/568] typeinfo for MYTYPE referenced in section FOO of myfile.o: defined in discarded section BAR of foo2.o

2005-06-03 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2005-06-03 
09:59 ---
http://sources.redhat.com/ml/binutils-cvs/2005-06/msg00016.html
http://sources.redhat.com/ml/binutils-cvs/2005-06/msg00018.html

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/991] operands mismatch on correct m68040 instruction

2005-06-03 Thread tom at hukatronic dot cz

--- Additional Comments From tom at hukatronic dot cz  2005-06-03 14:07 
---
Created an attachment (id=503)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=503&action=view)
source file to trigger this bug


-- 


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

--- 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/991] New: operands mismatch on correct m68040 instruction

2005-06-03 Thread tom at hukatronic dot cz
Cross m68k assembler on powerpc-apple-darwin is not able to assemble following 
instruction:

fmovem.l %fpcr,%d1

Terminal output:
[bobik:/tmp] thurka% uname -a
Darwin bobik 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; 
root:xnu/xnu
-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
[d-eprg05-75-98:/tmp] thurka% cat bug.s
fmovem.l %fpcr,%d1
[bobik:/tmp] thurka% ~/Projects/gcc_m68k/bin/m68k-bsd-elf-as -v -m68040 bug.s
GNU assembler version 2.16 (m68k-bsd-elf) using BFD version 2.16
bug.s: Assembler messages:
bug.s:1: Error: operands mismatch -- statement `fmovem.l %fpcr,%d1' ignored
[bobik:/tmp] thurka%

-- 
   Summary: operands mismatch on correct m68040 instruction
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: tom at hukatronic dot cz
CC: bug-binutils at gnu dot org
 GCC build triplet: powerpc-apple-darwin7.9.0
  GCC host triplet: powerpc-apple-darwin7.9.0
GCC target triplet: m68k-bsd-elf


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

--- 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/991] operands mismatch on correct m68040 instruction

2005-06-03 Thread tom at hukatronic dot cz

--- Additional Comments From tom at hukatronic dot cz  2005-06-03 15:04 
---
I believe that this bug is caused by two separate problems in 
gas/config/tc-m68k.c file.

First problem is in operands matching against opcode table (function m68k_ip, 
big for-loop around line   
1216). Information in the_ins.operands array are in some cases modified during 
operands matching 
(case 'L' and case 'l' in big switch). Subsequently such modified operand fails 
to match against correct 
opcode operands and instruction is rejected. 

Second problem is that function m68k_compare_opcode does not correctly compare 
instructions with 
the same name. The intension was that this function should honor order in 
opcode table, but if op1 and 
op2 has same names and op1 < op2 than m68k_compare_opcode return 0 instead of 
1. Depending on 
implementation of qsort this may produce different results. I believe that this 
is reason why I cannot 
reproduce this bug on i386-redhat-linux, because on i386-redhat-linux the order 
of fmovem.l 
opcodes is different from powerpc-apple-darwin and does not trigger the problem 
with operands 
matching.
Order of fmovem.l on powerpc:
IiL8~s
Iis8%s
Ii*lL8
 
order on i386-redhat-linux:
Iis8%s
IiL8~s
Ii*lL8

I will attach patches to fix both problems mentioned above.


-- 


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

--- 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/991] operands mismatch on correct m68040 instruction

2005-06-03 Thread tom at hukatronic dot cz

--- Additional Comments From tom at hukatronic dot cz  2005-06-03 15:51 
---
Created an attachment (id=505)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=505&action=view)
Proposed patch to fix problem with opcode ordering


-- 


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

--- 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/991] operands mismatch on correct m68040 instruction

2005-06-03 Thread tom at hukatronic dot cz

--- Additional Comments From tom at hukatronic dot cz  2005-06-03 15:50 
---
Created an attachment (id=504)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=504&action=view)
Proposed patch to fix problem with operand matching


-- 


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

--- 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/992] New: regression: ld selective1 and selective2 fails, cris-elf

2005-06-03 Thread hp at sourceware dot org
People CC:ed have patches touching the sensitive code areas in the time-window
given below.  (This includes Julian Brown, julian att codesourcery dott com, who
apparently has no sourceware bugzilla acount for that or guessable addresses.)

With a unified tree as of LAST_UPDATED "Tue May 17 13:57:35 UTC 2005",
these tests passed.  Ever since "Tue May 17 19:08:13 UTC 2005", they fail:

...
Running /home/hp/combined/combined/ld/testsuite/ld-selective/selective.exp ...
FAIL: selective1
FAIL: selective2
...

with the log message being:
...
/home/hp/combined/cris-sim/./gcc/xgcc -B/home/hp/combined/cris-sim/./gcc/
-nostdinc -B/home/hp/combined/cris-sim/cris-elf/newlib/\
 -isystem /home/hp/combined/cris-sim/cris-elf/newlib/targ-include -isystem
/home/hp/combined/combined/newlib/libc/include -B/usr/\
local/cris-elf/bin/ -B/usr/local/cris-elf/lib/ -isystem
/usr/local/cris-elf/include -isystem /usr/local/cris-elf/sys-include -L/h\
ome/hp/combined/cris-sim/./ld -w -O -ffunction-sections -fdata-sections
-B/home/hp/combined/cris-sim/ld/tmpdir/gas/ -I/home/hp/co\
mbined/combined/ld/testsuite/ld-selective -g -O2  -c
/home/hp/combined/combined/ld/testsuite/ld-selective/1.c -o tmpdir/1.o
/home/hp/combined/cris-sim/ld/ld-new  -o tmpdir/1.x --gc-sections -Bstatic 
tmpdir/1.o
/home/hp/combined/cris-sim/ld/ld-new: BFD 2.16.91 20050603 internal error,
aborting at /home/hp/combined/combined/bfd/elflink.c l\
ine 6446 in elf_link_output_extsym

/home/hp/combined/cris-sim/ld/ld-new: Please report this bug.

FAIL: selective1
/home/hp/combined/cris-sim/./gcc/xgcc -B/home/hp/combined/cris-sim/./gcc/
-nostdinc -B/home/hp/combined/cris-sim/cris-elf/newlib/\
 -isystem /home/hp/combined/cris-sim/cris-elf/newlib/targ-include -isystem
/home/hp/combined/combined/newlib/libc/include -B/usr/\
local/cris-elf/bin/ -B/usr/local/cris-elf/lib/ -isystem
/usr/local/cris-elf/include -isystem /usr/local/cris-elf/sys-include -L/h\
ome/hp/combined/cris-sim/./ld -w -O -ffunction-sections -fdata-sections
-B/home/hp/combined/cris-sim/ld/tmpdir/gas/ -I/home/hp/co\
mbined/combined/ld/testsuite/ld-selective -g -O2  -c
/home/hp/combined/combined/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/home/hp/combined/cris-sim/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic 
tmpdir/2.o
/home/hp/combined/cris-sim/ld/ld-new: BFD 2.16.91 20050603 internal error,
aborting at /home/hp/combined/combined/bfd/elflink.c l\
ine 6446 in elf_link_output_extsym

/home/hp/combined/cris-sim/ld/ld-new: Please report this bug.

FAIL: selective2

I'll attach a fresh 1.o and 2.o.

-- 
   Summary: regression: ld selective1 and selective2 fails, cris-elf
   Product: binutils
   Version: 2.17 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hp at sourceware dot org
CC: bug-binutils at gnu dot org,hjl at lucon dot org,nickc
at redhat dot com
GCC target triplet: cris-elf


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

--- 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/992] regression: ld selective1 and selective2 fails, cris-elf

2005-06-03 Thread hp at sourceware dot org

--- Additional Comments From hp at sourceware dot org  2005-06-04 04:46 
---
Created an attachment (id=506)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=506&action=view)
selective1 testfile 1.o


-- 


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

--- 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/992] regression: ld selective1 and selective2 fails, cris-elf

2005-06-03 Thread hp at sourceware dot org

--- Additional Comments From hp at sourceware dot org  2005-06-04 04:47 
---
Created an attachment (id=507)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=507&action=view)
selective2 testfile 2.o


-- 


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

--- 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/885] Missing adjustment to the ld-mmix testsuite

2005-06-03 Thread hp at sourceware dot org

--- Additional Comments From hp at sourceware dot org  2005-06-04 06:10 
---
Thanks for adjusting the testsuite (between  "Wed May 25 04:52:29 UTC 2005"
and "Wed May 25 12:57:20 UTC 2005".   It seems you forgot to CC
[EMAIL PROTECTED] and to close this PR.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/992] regression: ld selective1 and selective2 fails, cris-elf

2005-06-03 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-06-04 06:36 ---
A patch is posted at

http://sourceware.org/ml/binutils/2005-06/msg00030.html

-- 


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

--- 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/992] regression: ld selective1 and selective2 fails, cris-elf

2005-06-03 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-06-04 06:37 ---
I meant this one:

http://sourceware.org/ml/binutils/2005-06/msg00069.html

-- 


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

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