[Bug gas/5543] New: Assembler crashes on .set

2008-01-04 Thread hjl at lucon dot org
[EMAIL PROTECTED] gas]$ cat y.s
.globl  foo
.setfoo,(%eax)
[EMAIL PROTECTED] gas]$ as --32 -o y.o y.s
as: BFD (Linux/GNU Binutils) 2.18.50.0.4.20071229 assertion fail
/net/gnu-13/export/linux/src/binutils/binutils/bfd/elf.c:6405
as: BFD (Linux/GNU Binutils) 2.18.50.0.4.20071229 internal error, aborting at
/net/gnu-13/export/linux/src/binutils/binutils/bfd/elfcode.h line 221 in
bfd_elf32_swap_symbol_out

as: Please report this bug.

Is .setfoo,(%eax) valid?

-- 
   Summary: Assembler crashes on .set
   Product: binutils
   Version: 2.19 (HEAD)
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://sourceware.org/bugzilla/show_bug.cgi?id=5543

--- 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/5534] New: XXX PTR isn't checked properly in Intel syntax

2008-01-02 Thread hjl at lucon dot org
[EMAIL PROTECTED] memory-5]$ cat y.s
.text
.intel_syntax noprefix
movq xmm1, XMMWORD PTR [rsp]
movq xmm1, DWORD PTR [rsp]
movq xmm1, WORD PTR [rsp]
movq xmm1, BYTE PTR [rsp]

movq XMMWORD PTR [rsp],xmm1
movq DWORD PTR [rsp],xmm1
movq WORD PTR [rsp],xmm1
movq BYTE PTR [rsp],xmm1
[EMAIL PROTECTED] memory-5]$ as -o y.o y.s
y.s: Assembler messages:
y.s:6: Error: `xmm1' not allowed with `movqb'
y.s:11: Error: `xmm1' not allowed with `movqb'
[EMAIL PROTECTED] memory-5]$ 

There are 2 problems:

1. All those instructions should be invalid.
2. There is `movqb' in input.

-- 
   Summary: XXX PTR isn't checked properly in Intel syntax
   Product: binutils
   Version: 2.19 (HEAD)
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://sourceware.org/bugzilla/show_bug.cgi?id=5534

--- 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/5530] New: Linux/ia64 linker is broken

2007-12-31 Thread hjl at lucon dot org
I think this patch

http://sourceware.org/ml/binutils/2007-12/msg00171.html

breaks Linux/ia64 linker:

tmpdir/tlspic1.o:(.IA_64.unwind+0x0): warning: unsupported reloc
tmpdir/tlspic1.o:(.IA_64.unwind+0x8): warning: unsupported reloc
tmpdir/tlspic1.o:(.IA_64.unwind+0x10): warning: unsupported reloc
/export/build/gnu/binutils-cross/build-ia64-linux/ld/ld-new: final link failed:
Nonrepresentable section on output
FAIL: TLS -fpic -shared

It is reproducible with a cross linker.

-- 
   Summary: Linux/ia64 linker is broken
   Product: binutils
   Version: 2.19 (HEAD)
Status: NEW
  Severity: critical
  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,nickc at redhat dot com
GCC target triplet: ia64-unknown-linux-gnu


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

--- 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/5530] Linux/ia64 linker is broken

2007-12-31 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-31 19:26 ---
Fixed by

http://sourceware.org/ml/binutils-cvs/2007-12/msg00121.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5524] ld: I/O error, file /xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so: No such file or directory

2007-12-31 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-31 19:33 ---
It must be an HP-UX specific issue. I have no problems with --enable-shared
on Linux/Intel64.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5526] eh support is broken

2007-12-31 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-26 14:27 ---
Confirmed.

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-26 15:06 ---
This regression was introduced by

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

-- 
   What|Removed |Added

 CC||amodra at bigpond dot net
   ||dot au


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-27 01:12 ---
There are

  /* An instruction to the linker to not output the section
even if it has information which would normally be written.  */
#define SEC_NEVER_LOAD 0x200

`NOLOAD'
 The section should be marked as not loadable, so that it will not
 be loaded into memory when the program is run.

case noload_section:
  flags = ~SEC_LOAD;
  flags |= SEC_NEVER_LOAD;

What happens when an output section is marked as NOLOAD? From the linker
manual, it seems implies that the output section won't be loaded into
memory, but may still occupy space in file. But linker comments say that
the output section is ignored. But we got

  [Nr] Name  TypeAddr OffSize   ES Flg Lk Inf Al
  [ 0]   NULL 00 00 00  0   0  0
  [ 1] .text PROGBITS00400090 90 00058c 00  AX  0   0 16
  [ 2] .bs.required  PROGBITS0040061c 00061c 04 00  0   0  1
  [ 3] .bs.server.name   PROGBITS00400620 000620 0e 00   W  0   0  1
  [ 4] .bs.server.servic PROGBITS0040062e 00062e 17 00   W  0   0  1
  [ 5] .rodata   NOBITS  00400645 00061c 03 00  WA  0   0  1
  [ 6] .trampoline   PROGBITS00401000 000645 0004c0 00   X  0   0  1
  [ 7] .data.server  NOBITS  00400648 00061c 0c 00  WA  0   0  1
  [ 8] .stab PROGBITS 000b08 0018b4 0c  9   0  4
  [ 9] .stabstr  STRTAB   0023bc 007404 00  0   0  1
  [10] .shstrtab STRTAB   0097c0 81 00  0   0  1
  [11] .symtab   SYMTAB   009a4c 001da0 10 12 419  4
  [12] .strtab   STRTAB   00b7ec 000ed0 00  0   0  1
./ld-next -m elf_i386 -o next -T bss.lds attention.o libbss.a 
objdump -s -j .bs.server.name attention.o

attention.o: file format elf32-i386

Contents of section .bs.server.name:
  41747465 6e74696f 6e536967 6e00  AttentionSign.  
objdump -s -j .bs.server.name next

next: file format elf32-i386

Contents of section .bs.server.name:
 400620   6e536967 6e00  nSign.  
objdump -s -j .data.server attention.o

attention.o: file format elf32-i386

Contents of section .data.server:
       

That is linker writes out the .data.server section marked with SHT_NOBITS
and overrides the next section.





-- 


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-27 01:26 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-12/msg00150.html

-- 


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

--- 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/5522] Section contents partially overwritten with zero

2007-12-25 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-25 22:37 ---
It works with binutils in CVS as of 2007-12-25:

./ld -m elf_i386 -o x -T bss.lds attention.o libbss.a 
objdump -s -j .bs.server.name attention.o

attention.o: file format elf32-i386

Contents of section .bs.server.name:
  41747465 6e74696f 6e536967 6e00  AttentionSign.  
objdump -s -j .bs.server.name x

x: file format elf32-i386

Contents of section .bs.server.name:
 400620 41747465 6e74696f 6e536967 6e00  AttentionSign.  

-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |RESOLVED
 Resolution||WORKSFORME
Version|2.18|2.19 (HEAD)


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

--- 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/5488] strip doesn't handle PT_NOTE segment properly

2007-12-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-24 17:16 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5449] strip/objcopy doesn't work on ia64/hpux

2007-12-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-24 17:17 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5488] strip doesn't handle PT_NOTE segment properly

2007-12-20 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-20 15:11 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-12/msg00119.html

-- 


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

--- 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/5492] unable to boot linux kernel 2.6.23.9 on R2D+ SH7751 board using binutils 2.18 based SH-Linux toolchain

2007-12-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-17 16:47 ---
Can you try the current binutils from CVS?

-- 


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

--- 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/5494] No source debugging information with relative path by objdump

2007-12-17 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5449] strip/objcopy doesn't work on ia64/hpux

2007-12-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-17 16:50 ---
(In reply to comment #8)
 Maybe I broke the patch during backport to 2.18, but now 'strip' does not 
 break
 a.out any more, but its size is reduced only slightly compared to 2.16.1:
 
   original size: 68632
 with 2.16.1:  5692
 with this patch: 67132
 
 And if I redo this patched 'strip' again on the 5692-sized one, it's size is
 increased to 67132.

That is because 2.16.1 uses 4K maximum page size and my patch changes to
64K maximum page size.



-- 


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

--- 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/5449] data not in region 1 for SHARE_MAGIC after strip with 2.18

2007-12-13 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-13 16:48 ---
Please provide outputs of readelf -Sl on a.out and a.out stripped by
strip-2.16.1.

-- 


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

--- 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/5449] data not in region 1 for SHARE_MAGIC after strip with 2.18

2007-12-13 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-14 00:35 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-12/msg00082.html

-- 


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

--- 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/5449] data not in region 1 for SHARE_MAGIC after strip with 2.18

2007-12-06 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-07 02:00 ---
Please provide the original executable so that I can reproduce it on Linux.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |WAITING


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

--- 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/5448] Weak functions support is broken.

2007-12-06 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-07 01:57 ---
From gABI:

When the link editor searches archive libraries [see ``Archive File'' in Chapter
7], it extracts archive members that contain definitions of undefined global
symbols. The member's definition may be either a global or a weak symbol. The
link editor does not extract archive members to resolve undefined weak symbols.
Unresolved weak symbols have a zero value.

The behavior of weak symbols in areas not specified by this document is
implementation defined. Weak symbols are intended primarily for use in system
software. Applications using weak symbols are unreliable since changes in the
runtime environment might cause the execution to fail.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

--- 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/5059] absolute objcopy not working on amd64?

2007-12-06 Thread hjl at lucon dot org


-- 
   What|Removed |Added

OtherBugsDependingO||5453
  nThis||


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

--- 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/5453] objcopy does not seem to work for absolute addresses on i386 OSes installed on x86_64 hardware

2007-12-06 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-12-07 01:49 ---
This is a dup of PR 5059.

-- 
   What|Removed |Added

  BugsThisDependsOn||5059


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

--- 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/5303] splay-tree doesn't support 64bit value on 32bit host

2007-11-14 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-14 16:31 ---
2 patches are posted at

http://sourceware.org/ml/binutils/2007-11/msg00145.html
http://sourceware.org/ml/binutils/2007-11/msg00158.html

-- 


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

--- 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/5307] objcopy PE-EFI doesn't work when both PE/EFI are enabled

2007-11-13 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-13 20:18 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5307] objcopy PE-EFI doesn't work when both PE/EFI are enabled

2007-11-12 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-12 14:12 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-11/msg00115.html

-- 


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

--- 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/5299] Duplicated sections for COFF/PE

2007-11-12 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-12 14:37 ---
The updated patch is posted at

http://sourceware.org/ml/binutils/2007-11/msg00116.html

-- 


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

--- 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/5299] Duplicated sections for COFF/PE

2007-11-12 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-12 22:02 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5279] objdump SEGFAULT in bfd_getl16

2007-11-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-11 14:50 ---


*** This bug has been marked as a duplicate of 5278 ***

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||DUPLICATE


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

--- 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/5278] objdump SEGFAULT in _bfd_pe_print_private_bfd_data_common

2007-11-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-11 14:50 ---
*** Bug 5279 has been marked as a duplicate of this bug. ***

-- 


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

--- 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/5278] objdump SEGFAULT in _bfd_pe_print_private_bfd_data_common

2007-11-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-11 17:02 ---
The problem is PE backed processes header data without checking if they
are valid. For example:

1476  fprintf (file,
1477%s\n, data + edt.name - adj);

in pe_print_edata. edt.name - adj is invalid here.



-- 


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

--- 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/5307] New: objcopy PE-EFI doesn't work when both PE/EFI are enabled

2007-11-11 Thread hjl at lucon dot org
bash-3.2$ ./objdump -p  /tmp/a.exe 
...
Subsystem   0003(Windows CUI)
...
bash-3.2$ ./objcopy -O efi-app-ia32 /tmp/a.exe /tmp/a.efi
bash-3.2$ ./objdump -p  /tmp/a.efi
...
Subsystem   0003(Windows CUI)
...

-- 
   Summary: objcopy PE-EFI doesn't work when both PE/EFI are
enabled
   Product: binutils
   Version: 2.19 (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=5307

--- 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/5299] Duplicated sections for COFF/PE

2007-11-10 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-10 15:53 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-11/msg00100.html

-- 
   What|Removed |Added

  GCC build triplet|x86_64-pc-linux-gnu |
   GCC host triplet|x86_64-pc-linux-gnu |
 GCC target triplet|--enable-targets=all (but   |
   |connected with pei-i386 ==|
   |efi-app-i   |
Summary|[bfd] after |Duplicated sections for
   |bfd_check_format_matches()  |COFF/PE
   |we can have duplicated  |
   |sections|


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

--- 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/5276] relax is not yet perfect. fails linking large c++

2007-11-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-09 13:21 ---
(In reply to comment #5)
 (In reply to comment #4)
  Can you verify that -fPIC or -mlarge-data is used:
  
  http://www.redhat.com/archives/axp-list/2003-August/msg00039.html
 
 Only -fPIC is in use. No -msmall-data or -fpic...

It sounds like a compiler bug. When -fPIC is used, GPREL32 should
be generated, instead of GPREL16. I suggest you open a gcc bug report
with nsSVGScriptElement.o as testcase.

-- 


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

--- 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/5303] New: splay-tree doesn't support 64bit value

2007-11-09 Thread hjl at lucon dot org
There are

#ifndef _WIN64
  typedef unsigned long int libi_uhostptr_t;
  typedef long int libi_shostptr_t;
#else
  typedef unsigned long long libi_uhostptr_t;
  typedef long long libi_shostptr_t;
#endif

...

/* Use typedefs for the key and data types to facilitate changing
   these types, if necessary.  These types should be sufficiently wide
   that any pointer or scalar can be cast to these types, and then
   cast back, without loss of precision.  */
typedef libi_uhostptr_t splay_tree_key;
typedef libi_uhostptr_t splay_tree_value;

However, arange-set.c in BFD uses splay-tree on bfd_vma:

/* Get the low VMA address of a node.  */

static bfd_vma
arange_set_node_low (splay_tree_node node)
{
  return (bfd_vma) node-key;
}

It doesn't work on 32bit host with 64bit VMA.

-- 
   Summary: splay-tree doesn't support 64bit value
   Product: binutils
   Version: 2.19 (HEAD)
Status: NEW
  Severity: critical
  Priority: P1
 Component: ld
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=5303

--- 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/5303] splay-tree doesn't support 64bit value

2007-11-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-09 20:54 ---
Created an attachment (id=2083)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=2083action=view)
This patch works for me.


-- 


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

--- 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/5303] splay-tree doesn't support 64bit value

2007-11-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-10 00:01 ---
One way to fix it is to provide both long and long long interfaces for
splay-tree with the old interface as default. Applications can choose which
one to use. We can skip the long long one if compiler doesn't support
long long.

-- 


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

--- 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/5276] relax is not yet perfect. fails linking large c++

2007-11-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-07 14:33 ---
Can you verify that -fPIC or -mlarge-data is used:

http://www.redhat.com/archives/axp-list/2003-August/msg00039.html

-- 


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

--- 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/5276] relax is not yet perfect. fails linking large c++

2007-11-06 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-07 04:51 ---
Can you try binutils 2.18?

-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |WAITING


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

--- 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/5279] objdump SEGFAULT in bfd_getl16

2007-11-06 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-07 04:53 ---
Please provide testcases.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |WAITING


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

--- 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/5233] objcopy won't change section flags on zero file-size sections

2007-11-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-04 16:02 ---
The Linux binutils 2.18.50.0.3 is released with this patch

http://sourceware.org/ml/binutils/2007-11/msg3.html

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-11-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-11-05 00:19 ---
(In reply to comment #30)
 It still spots the same error:
 *** failure in ../src/addr2line
 loadable segment GNU_RELRO applies to is executable
 *** failure in ../libelf/libelf.so
 FAIL: run-elflint-self.sh
 

I think it is a bug in elflint. But you have to verify it with elflint
developers.


-- 


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

--- 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/5233] objcopy won't change section flags on zero file-size sections

2007-10-30 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5233] objcopy won't change section flags on zero file-size sections

2007-10-30 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-30 18:54 ---
The bug was introduced by this patch

http://sourceware.org/ml/binutils/2006-12/msg00165.html

The linker check is correct. Otherwise, you will get a bogus binary

Elf file type is EXEC (Executable file)
Entry point 0x0
There are 1 program headers, starting at offset 64

Program Headers:
  Type   Offset VirtAddr   PhysAddr
 FileSizMemSiz  Flags  Align
  LOAD   0x0020 0xfffe 0x
 0x0162 0x0162  RWE20

 Section to Segment mapping:
  Segment Sections...
   00 


-- 


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

--- 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/5232] New: readelf regression on Linux/ia64

2007-10-29 Thread hjl at lucon dot org
Hi Nick,

Your patch

http://sourceware.org/ml/binutils/2007-10/msg00374.html

causes

FAIL: readelf -wi: missing: .*DW_TAG_compile_unit.*
FAIL: lns-duplicate

on Linux/ia64.

-- 
   Summary: readelf regression on Linux/ia64
   Product: binutils
   Version: 2.19 (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,nickc at redhat dot com
GCC target triplet: ia64-unknown-linux-gnu


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

--- 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/5221] .pushsection is broken

2007-10-28 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-29 01:10 ---
Fixed.

-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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

--- 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/5221] New: .pushsection is broken

2007-10-26 Thread hjl at lucon dot org
When building Linux kernel 2.6.23, I got

pageattr.s: Assembler messages:
pageattr.s:219: Error: bad expression
pageattr.s:219: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:239: Error: bad expression
pageattr.s:239: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:502: Error: bad expression
pageattr.s:502: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:519: Error: bad expression
pageattr.s:519: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:540: Error: bad expression
pageattr.s:540: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:594: Error: bad expression
pageattr.s:594: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:619: Error: bad expression
pageattr.s:619: Error: junk at end of line, first unrecognized character is `a'
pageattr.s:641: Error: bad expression
pageattr.s:641: Error: junk at end of line, first unrecognized character is `a'

It may be introduced by

http://sourceware.org/ml/binutils/2007-10/msg00178.html

-- 
   Summary: .pushsection is broken
   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,nickc at redhat dot com


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

--- 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/5221] .pushsection is broken

2007-10-26 Thread hjl at lucon dot org


-- 
   What|Removed |Added

   Severity|normal  |critical
   Priority|P2  |P1


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

--- 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/5221] .pushsection is broken

2007-10-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-26 06:56 ---
bash-3.2$ cat x.s
.text
movl(%rbx), %eax
1:  ud2
.pushsection __bug_table,a
2:  .quad 1b, .LC0
.word 136, 0
.org 2b+24
.popsection
.L21:
jmp .L21
bash-3.2$ gcc -c x.s
x.s: Assembler messages:
x.s:4: Error: bad expression
x.s:4: Error: junk at end of line, first unrecognized character is `a'
bash-3.2$ 

-- 


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

--- 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/5221] .pushsection is broken

2007-10-26 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 GCC target triplet||x86_64-unknown-linux-gnu


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

--- 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/5221] .pushsection is broken

2007-10-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-26 13:01 ---
For ELF, you can specify flags, type and others with

 .section NAME [, FLAGS[, @TYPE[,FLAG_SPECIFIC_ARGUMENTS]]]

.subsection also should support them. The previous assembler did. The
previous manual had


7.81 `.pushsection NAME , SUBSECTION'
=

This is one of the ELF section stack manipulation directives.  The
others are `.section' (*note Section::), `.subsection' (*note
SubSection::), `.popsection' (*note PopSection::), and `.previous'
(*note Previous::).

   This directive pushes the current section (and subsection) onto the
top of the section stack, and then replaces the current section and
subsection with `name' and `subsection'.


I believe it should be

.pushsection NAME [, SUBSECTION[, FLAGS[, @TYPE[,FLAG_SPECIFIC_ARGUMENTS




-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |


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

--- 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/5221] .pushsection is broken

2007-10-26 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-26 17:28 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-10/msg00364.html

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-23 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-23 13:28 ---
(In reply to comment #20)
  http://sourceware.org/ml/binutils/2007-10/msg00308.html
 
 Can you attach the patch here as well in a 'downloadable' format?

You can use raw text:

http://sourceware.org/cgi-bin/get-raw-msg?listname=binutilsdate=2007-10msgid=2007103109.GA14599%40lucon.org

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-23 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-23 14:32 ---
(In reply to comment #23)
 Message spotted by elfutils is still the same of course:
 loadable segment GNU_RELRO applies to is executable
 *** failure in ../libelf/libelf.so

What is wrong with GNU_RELRO? It could be an elfutils bug.

-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/5205] linker fails with

2007-10-22 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-22 21:04 ---
I can't reproduce it:

./ld -Bstatic -T u-boot.lds -Ttext 0xfffc -n start.o resetvec.o -Map
u-boot.map -o u-boot
start.o: In function `_start_cont':
/share/home/clemens/work/u-boot/u-boot-1.3.0-rc3/cpu/mpc85xx/start.S:326:
undefined reference to `cpu_init_f'
/share/home/clemens/work/u-boot/u-boot-1.3.0-rc3/cpu/mpc85xx/start.S:327:
undefined reference to `board_init_f'


-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-22 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-22 22:31 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-10/msg00308.html

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-22 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 Status|WAITING |NEW


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

--- 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/5205] linker fails with section .bootpg can't be allocated in segment 1

2007-10-22 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-22 22:35 ---
(In reply to comment #3)
 ld seems to fails before it starts to resolve the external (in the testcase
 _not_ included) references. I'll have to check more in detail. Any hints?

Without a testcase, I can't tell for sure. It can be anything from bad hardware,
bad libc, bad gcc, ...

-- 


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

--- 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/4424] Can't link in Linux object files on FreeBSD

2007-10-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-18 01:31 ---
The current patch is at

http://sourceware.org/ml/binutils/2007-10/msg00257.html

-- 


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

--- 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/4424] Can't link in Linux object files on FreeBSD

2007-10-16 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-16 17:56 ---
A new patch is posted at

http://sourceware.org/ml/binutils/2007-10/msg00240.html

-- 


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

--- 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/4799] Common symbols not given type STT_COMMON

2007-10-16 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-16 18:22 ---
The current assembler just ignores

.type   common,%common

by default:

[EMAIL PROTECTED] gas]$ cat x.s
.common foo, 1
.type   foo,%common
[EMAIL PROTECTED] gas]$ ./as-new -o x.o x.s
[EMAIL PROTECTED] gas]$ ../binutils/readelf -s x.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: 0001 1 OBJECT  GLOBAL DEFAULT  COM foo
[EMAIL PROTECTED] gas]$ 

I am expecting COMMOM type for foo. I think we should add BSF_COMMON to
support STT_COMMON.

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-15 16:33 ---
*** Bug 5176 has been marked as a duplicate of this bug. ***

-- 
   What|Removed |Added

 CC||oliver at linux-kernel dot
   ||at


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

--- 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/5176] elfutils don't pass testsuite on alpha

2007-10-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-15 16:33 ---


*** This bug has been marked as a duplicate of 5149 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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

--- 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/4424] Can't link in Linux object files on FreeBSD

2007-10-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-15 17:13 ---
An updated patch for i386/FreeBSD is posted at

http://sourceware.org/ml/binutils/2007-10/msg00215.html

-- 


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

--- 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/4424] Can't link in Linux object files on FreeBSD

2007-10-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-15 17:13 ---
*** Bug 5179 has been marked as a duplicate of this bug. ***

-- 
   What|Removed |Added

 CC||uberlord at gentoo dot org


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

--- 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/5179] bintuils-2.18 does not recognise i386 firmware built on Linux when using another OS

2007-10-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-15 17:13 ---


*** This bug has been marked as a duplicate of 4424 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-11 15:49 ---
[EMAIL PROTECTED] tmp]$ gcc -v x.o
...
 /usr/libexec/gcc/x86_64-redhat-linux/4.1.2/collect2 --eh-frame-hdr -m
elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbegin.o
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 x.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o

It shows all linker input files. I need all of them. You add -Wl,-verbose
to see which files are used by linker.

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-10 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-10 18:05 ---
If you can provide a testcase, I will look into it.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-10 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-10 18:12 ---
I don't have a Sparc. I can build a cross linker. I need all linker inputs
to reproduce it.

-- 


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

--- 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/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug

2007-10-10 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-10 22:04 ---
(In reply to comment #5)
 Created an attachment (id=2039)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=2039action=view)
 ld bits that make strange sparc file which fails elfutils test
 

That is not enough. Please use gcc -v to see all linker inputs and
double check them by running linker by hand.

-- 


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

--- 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/4476] readelf -s -D doesn't support --hash-style=gnu

2007-10-09 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-09 14:03 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5109] New: Extra REX byte generated in Intel mode

2007-10-04 Thread hjl at lucon dot org
[EMAIL PROTECTED] simd]$ cat x.s
.intel_syntax noprefix
 comisd xmm1,QWORD PTR [rip+0x12345678]
 cvtdq2pd xmm1,QWORD PTR [rip+0x12345678]
 cvtps2pd xmm1,QWORD PTR [rip+0x12345678]
 movhpd QWORD PTR [rip+0x12345678],xmm1
 movhpd xmm1,QWORD PTR [rip+0x12345678]
 movhps QWORD PTR [rip+0x12345678],xmm1
 movhps xmm1,QWORD PTR [rip+0x12345678]
 movlpd QWORD PTR [rip+0x12345678],xmm1
 movlpd xmm1,QWORD PTR [rip+0x12345678]
 movlps QWORD PTR [rip+0x12345678],xmm1
 movlps xmm1,QWORD PTR [rip+0x12345678]
 ucomisd xmm1,QWORD PTR [rip+0x12345678]
 cmpeqsd xmm0,QWORD PTR [rax]
 cvtpi2pd xmm0,QWORD PTR [rax]
 cvtpi2ps xmm0,QWORD PTR [rax]
 cvtps2pi mm0,QWORD PTR [rax]
 cvtsd2ss xmm0,QWORD PTR [rax]
 divsd  xmm0,QWORD PTR [rax]
 maxsd  xmm0,QWORD PTR [rax]
 movntsd QWORD PTR [rax],xmm0
 movsd  xmm0,QWORD PTR [rax]
 movsd  QWORD PTR [rax],xmm0
 mulsd  xmm0,QWORD PTR [rax]
 sqrtsd xmm0,QWORD PTR [rax]
 subsd  xmm0,QWORD PTR [rax]
[EMAIL PROTECTED] simd]$ gcc -c x.s
[EMAIL PROTECTED] simd]$ objdump -dw x.o | sed -e s/[ \t]*#.*$//

x.o: file format elf64-x86-64

Disassembly of section .text:

 .text:
   0:   66 48 0f 2f 0d 78 56 34 12  rex.W comisd 0x12345678(%rip),%xmm1
   9:   f3 48 0f e6 0d 78 56 34 12  rex.W cvtdq2pd 0x12345678(%rip),%xmm1
  12:   48 0f 5a 0d 78 56 34 12 rex.W cvtps2pd 0x12345678(%rip),%xmm1
  1a:   66 48 0f 17 0d 78 56 34 12  rex.W movhpd %xmm1,0x12345678(%rip)
  23:   66 48 0f 16 0d 78 56 34 12  rex.W movhpd 0x12345678(%rip),%xmm1
  2c:   48 0f 17 0d 78 56 34 12 rex.W movhps %xmm1,0x12345678(%rip)
  34:   48 0f 16 0d 78 56 34 12 rex.W movhps 0x12345678(%rip),%xmm1
  3c:   66 48 0f 13 0d 78 56 34 12  rex.W movlpd %xmm1,0x12345678(%rip)
  45:   66 48 0f 12 0d 78 56 34 12  rex.W movlpd 0x12345678(%rip),%xmm1
  4e:   48 0f 13 0d 78 56 34 12 rex.W movlps %xmm1,0x12345678(%rip)
  56:   48 0f 12 0d 78 56 34 12 rex.W movlps 0x12345678(%rip),%xmm1
  5e:   66 48 0f 2e 0d 78 56 34 12  rex.W ucomisd 0x12345678(%rip),%xmm1
  67:   f2 48 0f c2 00 00   rex.W cmpeqsd (%rax),%xmm0
  6d:   66 48 0f 2a 00  rex.W cvtpi2pd (%rax),%xmm0
  72:   48 0f 2a 00 rex.W cvtpi2ps (%rax),%xmm0
  76:   48 0f 2d 00 rex.W cvtps2pi (%rax),%mm0
  7a:   f2 48 0f 5a 00  rex.W cvtsd2ss (%rax),%xmm0
  7f:   f2 48 0f 5e 00  rex.W divsd  (%rax),%xmm0
  84:   f2 48 0f 5f 00  rex.W maxsd  (%rax),%xmm0
  89:   f2 48 0f 2b 00  rex.W movntsd %xmm0,(%rax)
  8e:   f2 48 0f 10 00  rex.W movsd  (%rax),%xmm0
  93:   f2 48 0f 11 00  rex.W movsd  %xmm0,(%rax)
  98:   f2 48 0f 59 00  rex.W mulsd  (%rax),%xmm0
  9d:   f2 48 0f 51 00  rex.W sqrtsd (%rax),%xmm0
  a2:   f2 48 0f 5c 00  rex.W subsd  (%rax),%xmm0
[EMAIL PROTECTED] simd]$

-- 
   Summary: Extra REX byte generated in Intel mode
   Product: binutils
   Version: 2.19 (HEAD)
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://sourceware.org/bugzilla/show_bug.cgi?id=5109

--- 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/5109] Extra REX byte generated in Intel mode

2007-10-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-05 02:26 ---
Fixed by

http://sourceware.org/ml/binutils/2007-10/msg00079.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-05 02:29 ---
Does

# ld.exe -r --whole-archive ..\target\x86_64-pc-mingw32\lib\libmingw32.a

work?

-- 


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

--- 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/5105] x86_64-pc-mingw32 native ld.exe randomly failed to read the archive file

2007-10-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-05 04:48 ---
(In reply to comment #5)
 Subject: Re:  x86_64-pc-mingw32 native ld.exe randomly failed to read the
archive file
 
 your command works.
 
 I add some log in bfd_seek() and bfd_pread(),
 it seems that the file offset suddenly minus by 1,
 this is not caused by a seek(), it seem like some call return -1 and
 then add to position.
 

It may be an interface or mingw issue. Please check if types used
in bfd_seek and bfd_bread are correct.

-- 


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

--- 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/5059] absolute objcopy not working on amd64?

2007-10-01 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-10-01 16:56 ---
(In reply to comment #13)
 Thanks, so i tried following action.
 root:/sources/grub-0.97# vi +1852 stage2/asm.S 
 
 -and $0x, %rsi 
 +and $0x, %rsi
 -and $0x, %rdi
 +and $0x, %rdi
 

I don't think they are correct. The correct ones may be

and $0x, %esi
and $0x, %edi

 root:/sources/grub-0.97# make
...
 boot.c: In function ‘load_image’:
 boot.c:80: warning: cast from pointer to integer of different size
 boot.c:80: warning: cast from pointer to integer of different size

Those warnings have nothing to do with binutils. We can't help you here.

-- 


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

--- 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/5059] absolute objcopy not working on amd64?

2007-09-30 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-30 18:19 ---
(In reply to comment #11)
 I rebuild whole system with lfs, binutils testcase seems fine.
 But i want to know the reason why grub-0.97 has been failed.
 Still got 
 
 asm.S:1852: Error: suffix or operands invalid for `and'
 asm.S:1854: Error: suffix or operands invalid for `and'
 


It looks like that assembly sources in grub-0.97 are 32bit,
not 64bit.

-- 


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

--- 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/5080] Error: Incorrect register `eax' used with `q' suffix

2007-09-30 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-30 21:27 ---
Fixed by

http://sourceware.org/ml/binutils/2007-09/msg00443.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5072] The x86 disassembler failed to dectect invalid 64bit opcode

2007-09-29 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-29 23:19 ---
Fixed by

http://sourceware.org/ml/binutils/2007-09/msg00413.html

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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

--- 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/5072] The x86 disassembler failed to dectect invalid 64bit opcode

2007-09-26 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 AssignedTo|unassigned at sources dot   |hjl at lucon dot org
   |redhat dot com  |
 Status|NEW |ASSIGNED


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

--- 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/5059] absolute objcopy not working on amd64?

2007-09-25 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-25 13:52 ---
(In reply to comment #9)
 need to rebuild all gcc toolchain again, something is wrong..
 

Your system is corrupted. Binutils 2.18 should have no problems on Linux/x86-64.

-- 


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

--- 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/5059] absolute objcopy not working on amd64?

2007-09-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-24 13:31 ---
Please provide a testcase. Objcopy works for me:

bash-3.2$ cat x.c
void
cmain (void)
{
   *((int *) 0x1000) = 2;
}
bash-3.2$ make 
cc -O2   -c -o x.o x.c
./ld -o x x.o -N -Ttext 0x100
./ld: warning: cannot find entry symbol _start; defaulting to 0100
./objcopy x y
cmp x y
bash-3.2$ 

-- 


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

--- 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/5059] absolute objcopy not working on amd64?

2007-09-24 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-24 13:32 ---
(In reply to comment #5)
 What is wrong with .eh_frame? then linker is not working?
 or binutils works fine? i am not sure, so tried following action.
 

 callEXT_C(stop)
  ^^  This is invalid assembly code.




-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |


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

--- 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/5059] absolute objcopy not working on amd64?

2007-09-23 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-23 23:31 ---
I have no idea what grub is trying to do. Please extract a testcase from grub.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |WAITING


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

--- 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/5034] Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid base/index expression

2007-09-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-17 14:48 ---
According to

http://sourceware.org/ml/binutils/2007-09/msg00213.html

it is invalid MASM assembly code. The fix has been reverted.

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


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

--- 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/3281] objcopy changes PT_GNU_RELRO when there is PT_TLS

2007-09-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-18 00:35 ---
Fixed by

http://sourceware.org/ml/binutils/2007-09/msg00229.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5037] strip shrinks PT_GNU_RELRO on PIE objects

2007-09-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-18 00:36 ---
Fixed by

http://sourceware.org/ml/binutils/2007-09/msg00229.html

-- 


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

--- 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/5037] strip shrinks PT_GNU_RELRO on PIE objects

2007-09-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-18 00:37 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-17 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-18 00:37 ---
Fixed.

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/5037] strip shrinks PT_GNU_RELRO on PIE objects

2007-09-16 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-16 19:56 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-09/msg00208.html

-- 


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

--- 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/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-16 22:14 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-09/msg00209.html

-- 


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

--- 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/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-16 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-16 22:15 ---
(In reply to comment #6)

 [EMAIL PROTECTED] /c/temp/tmingw
 $ /c/tools/target/bin/as.exe t2.s -o t2.o
 t2.s: Assembler messages:
 t2.s:67: Error: unknown pseudo-op: `.hidden'
 
 
 ../../src/gas/config/obj-coff.c line 780 seems to be binutils's bug.
 but for unknown pseudo-op: `.hidden', it seems that g++ generate wrong asm,
 

This is a gcc problem, not a gas problem.



-- 


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

--- 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/5035] x86_64-pc-mingw32-as.exe failed to work

2007-09-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-15 20:37 ---
(In reply to comment #0)
 I compile a cross compiler --host=x86_64-redhat-linux-gnu
 --target=x86_64-pc-mingw32,
 Then use this cross compiler to compile a native binutils and gcc,
 Then I run the native x86_64-pc-mingw32-g++.exe which call native
 as.exe under winxp x64.
 
 It produce such error :

 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMH.s
 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMH.s: Assembler messages:
 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMH.s:2: Internal error!
 Assertion failure in obj_coff_endef at
 ../../binutils/gas/config/obj-coff.c line 780.
 Please report this bug.

Please provide an assembly code to reproduce the problem. You can use
gcc -S to generate the .s file.


 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccQL.s
 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccQL.s: Assembler messages:
 C:/DOCUME~1/drangon/LOCALS~1/Temp/ccQL.s:107: Error: unknown
 pseudo-op: `.hidden'

I don't think .hidden works work on Windows. Why does your gcc generate
it?


-- 
   What|Removed |Added

 CC||hjl at lucon dot org
 Status|NEW |WAITING


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

--- 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/5034] Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid base/index expression

2007-09-15 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5026] Displaying Truncated Values Incorrectly

2007-09-15 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5026] Displaying Truncated Values Incorrectly

2007-09-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-15 20:58 ---
The current binutils in CVS shows

[EMAIL PROTECTED] big-1]$ cat x.s
.word   0x1234567890
[EMAIL PROTECTED] big-1]$ make
./as -o x.o x.s
x.s: Assembler messages:
x.s:1: Warning: bignum truncated to 2 bytes
[EMAIL PROTECTED] big-1]$

on Linux/i386.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME
Version|unspecified |2.19 (HEAD)


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

--- 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/5034] Error: `QWORD PTR __CTOR_END__-8[rip]' is not a valid base/index expression

2007-09-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-15 22:10 ---
Fixed by

http://sourceware.org/ml/binutils/2007-09/msg00202.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/5037] strip shrinks PT_GNU_RELRO on PIE objects

2007-09-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-16 01:35 ---
Does it with the current Linux binutils?

-- 
   What|Removed |Added

 CC||hjl at lucon dot org


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

--- 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/5037] strip shrinks PT_GNU_RELRO on PIE objects

2007-09-15 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-16 03:19 ---
(In reply to comment #4)
 current 2.18 branch as well as CVS head exhibit same bug as the 2.18 release

In Linux binutils source tree, there is a patch for bug 3281 under patches
You can try it on binutils from CVS and binutils 2.18.

-- 


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

--- 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/4986] gas emits duplicate .loc directive from gcc 3.4.6

2007-09-01 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-09-01 06:51 ---
I checked in my patch. But it doesn't work on ia64 with gcc 3.4 and 4.1.
I got

 Line Number Statements:
  Extended opcode 2: set Address to 0x0
  Special opcode 12: advance Address by 0 to 0x0 and Line by 7 to 8
  Copy
  Special opcode 230: advance Address by 16 to 0x10 and Line by 1 to 9
  Special opcode 6: advance Address by 0 to 0x10 and Line by 1 to 10
  Special opcode 4: advance Address by 0 to 0x10 and Line by -1 to 9
  Special opcode 229: advance Address by 16 to 0x20 and Line by 0 to 9
  Copy
  Special opcode 34: advance Address by 2 to 0x22 and Line by 1 to 10
  Advance PC by 30 to 0x40
  Extended opcode 1: End of Sequence

We wind up with line 10 instead of line 9.

-- 


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

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


  1   2   3   4   5   6   >