[Bug binutils/4346] New: section options not passed to linker

2007-04-11 Thread afra at aurigae dot demon dot co dot uk
WinAVR gcc, 2007 version does not correctly pass data re-location options to the
linker, so variables cannot be re-located to external memory.

Option that fails is : -Wl,-Tdata=0x801100,--defsym=__heap_end=0x807fff

the -Tdata=0x80110 is ignored.

Workaround is to use :
-Wl,--section-start=.data=0x801100,--defsym=__heap_end=0x807fff

Cheers.

Phill.

-- 
   Summary: section options not passed to linker
   Product: binutils
   Version: 2.17
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: afra at aurigae dot demon dot co dot uk
CC: bug-binutils at gnu dot org
  GCC host triplet: WinAVR-windows
GCC target triplet: avr


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

--- 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/4333] Bogus decoding of certain invalid i386 instructions (0x8f pop)

2007-04-11 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/4333] Bogus decoding of certain invalid i386 instructions (0x8f pop)

2007-04-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-04-11 22:57 ---
Fixed by

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

BTW, 0xc6 mov and 0x0f90 set{cc} are OK.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/3732] strip breaks mixed msvc++ (with manifest) and gcc (with debug) generated pei-i386

2007-04-11 Thread ramiro86 at hotmail dot com

--- Additional Comments From ramiro86 at hotmail dot com  2007-04-12 00:58 
---
Hello,

That's odd. gmmain.exe runs fine on Windows XP SP2, but not on Windows XP
Professional.
It's either a bug on the Microsoft linker, or on Windows XP Professional. Most
likely on Windows, since SP2 runs it fine.

Anyways, the bug in binutils is still valid. Could you look for a machine with
Windows XP SP2 to test?

Ramiro Polla

-- 


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

--- 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/3732] strip breaks mixed msvc++ (with manifest) and gcc (with debug) generated pei-i386

2007-04-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-04-12 01:42 ---
(In reply to comment #12)
> Hello,
> 
> That's odd. gmmain.exe runs fine on Windows XP SP2, but not on Windows XP
> Professional.
> It's either a bug on the Microsoft linker, or on Windows XP Professional. Most
> likely on Windows, since SP2 runs it fine.
> 
> Anyways, the bug in binutils is still valid. Could you look for a machine with
> Windows XP SP2 to test?
>

I only have Win/Pro. If it won't run on Win/Pro, I consider this executable
is bad. When you feed a bad input to strip, you won't get a good output. I
am closing this bug. You can reopen it when you find a testcase for Win/Pro.



-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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/4348] New: strip can't strip sections

2007-04-11 Thread hjl at lucon dot org
bash-3.1$ make
touch x.s
as   -o x.o x.s
readelf -S x.o
There are 7 section headers, starting at offset 0x70:

Section Headers:
  [Nr] Name  Type Address   Offset
   Size  EntSize  Flags  Link  Info  Align
  [ 0]   NULL   
        0 0 0
  [ 1] .text PROGBITS   0040
       AX   0 0 4
  [ 2] .data PROGBITS   0040
       WA   0 0 4
  [ 3] .bss  NOBITS     0040
       WA   0 0 4
  [ 4] .shstrtab STRTAB     0040
   002c     0 0 1
  [ 5] .symtab   SYMTAB     0230
   0060  0018   6 4 8
  [ 6] .strtab   STRTAB     0290
   0001     0 0 1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)
strip -R .text -R .data -R .bss x.o -o y.o
strip: there are no sections to be copied!
make: *** [y.o] Error 1

I don't think strip should complain here.

-- 
   Summary: strip can't strip sections
   Product: binutils
   Version: 2.18 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org


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

--- 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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/4348] strip can't strip sections

2007-04-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-04-12 05:13 ---
A patch is posted at

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

-- 


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

--- 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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-binutils