[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread chrbr at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

--- Comment #4 from Christian Bruel  2011-05-11 
10:50:54 UTC ---
Created attachment 5715
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5715
part-1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread chrbr at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

--- Comment #5 from Christian Bruel  2011-05-11 
10:52:35 UTC ---
Created attachment 5716
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5716
part-2

Reproduce with:

g++ -fasynchronous-unwind-tables -fno-rtti -fno-exceptions -c -o foo.o foo.i
g++ -fasynchronous-unwind-tables -fno-rtti -fno-exceptions -c -o bar.o bar.i

ld   -r -o foor.o foo.o bar.o

objdump -r foor.o | grep NONE
0098 R_X86_64_NONE *ABS*

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread chrbr at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

Christian Bruel  changed:

   What|Removed |Added

 CC||chrbr at gcc dot gnu.org

--- Comment #6 from Christian Bruel  2011-05-11 
10:58:20 UTC ---
A new reduced case showing R_*_NONE relocation in .eh_frame for a relocatable
module. 
Might not be a bug (R_*NONE should be allowed in the final ELF, but since this
has not been covered by the patch in #2, I wonder if there is a solution to
cleanup this one as well.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

H.J. Lu  changed:

   What|Removed |Added

   Attachment #5716|application/octet-stream|text/plain
  mime type||

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

H.J. Lu  changed:

   What|Removed |Added

   Attachment #5715|application/octet-stream|text/plain
  mime type||

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/11542] ld -r generates R_X86_64_NONE

2011-05-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11542

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug gas/10810] Encoding for the Thumb MOV{S} instruction

2011-05-11 Thread rearnsha at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=10810

Richard Earnshaw  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||rearnsha at gcc dot gnu.org
 Resolution||FIXED

--- Comment #1 from Richard Earnshaw  2011-05-11 
17:11:59 UTC ---
This appears to be fixed now:

.syntax unified
.thumb
.cpu cortex-m3

movs r1, r2
mov r1, r2
movs r1, r8

$ /work/rearnsha/scratch/gnu/gcc/git/gas/as-new gas.s
$ /work/rearnsha/scratch/gnu/gcc/git/binutils/objdump -d a.out 

a.out: file format elf32-littlearm


Disassembly of section .text:

 <.text>:
   0:   0011movsr1, r2
   2:   4611mov r1, r2
   4:   ea5f 0108   movs.w  r1, r8

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug binutils/12752] New: wrong symbol in branch disassembly

2011-05-11 Thread mcspang at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12752

   Summary: wrong symbol in branch disassembly
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sources.redhat.com
ReportedBy: mcsp...@gmail.com


Disassembly of some thumb branches results in the wrong symbol being printed:

8024:   f000 e91e   blx 8264 <__aeabi_idiv0+0xf53c>

The problem is that the 32-bit address is sign extended when passed to
print_address_func.

This might occur in other code paths as well.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug binutils/12752] wrong symbol in branch disassembly

2011-05-11 Thread mcspang at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12752

--- Comment #1 from mcspang at gmail dot com 2011-05-11 19:38:38 UTC ---
Created attachment 5717
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5717
change to unsigned to prevent sign extension

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug binutils/12752] wrong symbol in branch disassembly

2011-05-11 Thread mcspang at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12752

mcspang at gmail dot com changed:

   What|Removed |Added

 CC||mcspang at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug binutils/12752] wrong symbol in branch disassembly

2011-05-11 Thread j3parker at uwaterloo dot ca
http://sourceware.org/bugzilla/show_bug.cgi?id=12752

Jacob Parker  changed:

   What|Removed |Added

 CC||j3parker at uwaterloo dot
   ||ca

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug binutils/12753] New: nm -g does not include unique global symbols

2011-05-11 Thread sdlkrv at verizon dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=12753

   Summary: nm -g does not include unique global symbols
   Product: binutils
   Version: 2.21
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sources.redhat.com
ReportedBy: sdl...@verizon.net


nm --version
-> GNU nm (GNU Binutils; openSUSE 11.4) 2.21

Output from "nm -g" does not include symbols of type "u" = "unique
global symbol".

Also, related documentation bug for nm.  The man page says, regarding
the symbol type:

  "If lowercase, the symbol is local; if uppercase, the symbol is
  global (external)."

That sentence from the documentation appears to have been previously
violated by the "v" and "w", and now again by "u", except the latter
isn't treated as global by the -g flag.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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