[Bug gas/4657] New: .req does no allo upper case letter for register name

2007-06-18 Thread axelheider at gmx dot de
.req does no allow upper case letter for register name, this causes an error, 

This causes an error:

MyRegister1 .req r0
MyRegister2 .req r1
MOV MyRegister1,MyRegister2,#0

This works fine 

myregister1 .req r0
myregister2 .req r1
MOV myregister1,myregister2,#0

-- 
   Summary: .req does no allo upper case letter for register name
   Product: binutils
   Version: 2.15
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: axelheider at gmx dot de
CC: bug-binutils at gnu dot org
  GCC host triplet: i386/cygwin
GCC target triplet: ARM


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

--- 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/4659] New: Error: dsp:8 immediate is out of range `enter #4-4'

2007-06-18 Thread rask at sygehus dot dk
$ gas/as-new --version
GNU assembler (GNU Binutils) 2.17.50.20070529
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `m32c-unknown-elf'.

This fails, although I think it should work:

$ echo 'enter #4-4' | gas/as-new -o /tmp/test
{standard input}: Assembler messages:
{standard input}:1: Error: dsp:8 immediate is out of range `enter #4-4'

It is not simply because the instruction doesn't support an immediate of zero:

$ echo 'enter #0' | gas/as-new -o /tmp/test
$ binutils/objdump --disassemble --wide --reloc /tmp/test

/tmp/test: file format elf32-m32c

Disassembly of section .text:

 <.text>:
   0:   7c f2 00enter #0x0
   3:   04  nop

-- 
   Summary: Error: dsp:8 immediate is out of range `enter #4-4'
   Product: binutils
   Version: 2.17
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: rask at sygehus dot dk
CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m32c-unknown-elf


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

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


Re: ld behavior on different architectures

2007-06-18 Thread Nick Clifton

Hi Constantine,

First of all, excuse me if i'm asking a naive question. I'm a complete 
noob at using linker scripts (and generally ld), so please give me a 
helping hand.


Certainly, although you are treading in a dark and mysterious region of 
programming.  I would suggest that you read up on linker scripts and 
linkers in general before you go much further.


Does the linker's behavior change across different architectures? 


Yes.  For example the default alignment of sections may well be 
different with different architectures.


Is is 
possible that the 'boot' section is *not* at the beginning of the file 
on amd64?


Not really no.  Given the linker script you presented the .boot section 
will be the first section in the amd64 image, (provided that there are 
some .boot sections in the input files used to create the image of 
course).  The best way to find out what is going on is to examine the 
built image by hand.  (Using the readelf tool with the -x switch may 
help here).


Cheers
  Nick




___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: [patch] WINDRES: Fix bounds checking in probe_binary()

2007-06-18 Thread Nick Clifton

Hi Thomas,


The attached patch fixes an issue where very small .res files weren't
recognized properly.


Thank you very much for catching this bug.  I have committed the patch 
you supplied along with this ChangeLog entry.


Cheers
  Nick

binutils/ChangeLog
2007-06-18  Thomas Weidenmueller  <[EMAIL PROTECTED]>

* resres.c (probe_binary): Fix test for badly formatted headers.



___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/4607] Bug in probe_binary() prevents windres from recognizing very small .res files

2007-06-18 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2007-06-18 16:43 
---
Patch applied

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/1543] [regression] LD very slow especially when linking C++ object files on alpha

2007-06-18 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-06-18 18:58 ---
Does this patch

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

help? How does the binutils in CVS work now?

-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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 binutils/2737] windres depends on host's endianness and bitness

2007-06-18 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-06-18 19:02 ---
Fixed by

http://sourceware.org/ml/binutils/2007-05/msg00315.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

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