[Bug gas/11509] Strange evaluation of symbol containing register

2010-04-19 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2010-04-19 
14:37 ---
I don't think we should support ".eqv param, ebp-4"
since it is evaluated and fully resolved at the first
use. We got ".eqv param, -4" starting from the
second use.

-- 
   What|Removed |Added

  GCC build triplet|x86_64-gentoo-linux, x86_32-|
   |gentoo-linux, cygwin|
   GCC host triplet|x86_64-gentoo-linux, x86_32-|
   |gentoo-linux, cygwin|
 GCC target triplet|x86_64-gentoo-linux, x86_32-|i386/x86-64
   |gentoo-linux, cygwin|
Version|2.20|2.21 (HEAD)


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

--- 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/11516] New: Fatal error assembling jsr for Alpha ECOFF

2010-04-19 Thread ro at TechFak dot Uni-Bielefeld dot DE
Current gas fails to assemble the following trivial testcase:

$ cat jsr.s
jsr $26,getpagesize
$ gas -o jsr.o jsr.s
jsr.s: Assembler messages:
jsr.s:1: Fatal error: unhandled relocation type (null)

-- 
   Summary: Fatal error assembling jsr for Alpha ECOFF
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ro at TechFak dot Uni-Bielefeld dot DE
CC: bug-binutils at gnu dot org
GCC target triplet: alpha-dec-osf5.1b


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

--- 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/11517] New: Fatal error assembling ldgp for Alpha ECOFF

2010-04-19 Thread ro at TechFak dot Uni-Bielefeld dot DE
The following trivial testcase fails to assemble:

$ cat ldgp.s
ldgp $29,0($27)
$ gas -o ldgp.o ldgp.s
ldgp.s: Assembler messages:
ldgp.s:1: Fatal error: internal error? cannot generate
`BFD_RELOC_ALPHA_GPDISP_HI16' relocation

-- 
   Summary: Fatal error assembling ldgp for Alpha ECOFF
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ro at TechFak dot Uni-Bielefeld dot DE
CC: bug-binutils at gnu dot org
GCC target triplet: alpha-dec-osf5.1b


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

--- 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/11518] New: Support explicit relocations for Alpha ECOFF

2010-04-19 Thread ro at TechFak dot Uni-Bielefeld dot DE
Prompted by PRs gas/11516 and gas/11517, I tried to enable explicit relocations
for Alpha ECOFF, too, to see if I get further along with gas and gcc on Tru64
UNIX with this combination.  At least the trivial change of defining RELOC_OP_P
in config/tc-alpha.h is not enough: trying to assemble the jsr.s testcase from
PR gas/11516 fails with a SEGV:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x08091e3d in assemble_insn (opcode=0x80f2200, tok=0x80476d0, ntok=3,
insn=0x8047660, reloc=BFD_RELOC_ALPHA_ELF_LITERAL) at
/vol/gnu/src/binutils/binutils-2.20/gas/config/tc-alpha.c:2130
(gdb) p reloc_howto
$1 = (const struct reloc_howto_struct *) 0x0
(gdb) p reloc
$2 = BFD_RELOC_ALPHA_ELF_LITERAL

Obviously RELOC_OP_P also means OBJ_ELF in a couple of places, so this maze
needs to be untangled to have a chance to make gas work this way.

-- 
   Summary: Support explicit relocations for Alpha ECOFF
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ro at TechFak dot Uni-Bielefeld dot DE
CC: bug-binutils at gnu dot org
GCC target triplet: alpha-dec-osf5.1b


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

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