[Bug binutils/10403] New: environment variable RM=/bin/rm causes 'make' to fail in bfd

2009-07-16 Thread mariah dot lenox at gmail dot com
For binutils-2.19.1 built using gcc-4.4.0 on an
x86_64-unknown-linux-gnu system, if I set the environment
variable

 RM=/bin/rm

then binutils fails to build during make, specifically in
directory bfd.

(/bin/rm --version says rm (GNU coreutils) 6.10)

Is that a bug?

-- 
   Summary: environment variable RM=/bin/rm causes 'make' to fail in
bfd
   Product: binutils
   Version: 2.19
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: mariah dot lenox at gmail dot com
CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

--- 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 gold/10400] Gold produces incorrect debug and unwind info when incompatible COMDAT sections are present

2009-07-16 Thread ppluzhnikov at google dot com

--- Additional Comments From ppluzhnikov at google dot com  2009-07-16 
16:19 ---
(In reply to comment #3)
 let me
 know if you have a chance to try it on some other test cases.

Thanks for the prompt fix.

I've linked two of my real executables (which both exhibited GDB glitches)
with patched gold, and the problem is fixed there as well :-)


-- 


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

--- 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/10288] objdump -D --target=binary -m arm7tdmi shows non-ARM7TDMI instructions

2009-07-16 Thread chris at seberino dot org

--- Additional Comments From chris at seberino dot org  2009-07-16 18:16 
---
Nick

Many bit regions in ARM instructions are specified as SBZ Should Be Zero.

ARM docs say if these bits are NOT zero that the results are UNPREDICTABLE for
all ARM chips!

So the question is what is the best thing for objdump to do in these situations
where a bit region is not zeroed out when it should be.

I think the cleanest thing to do is to return UNDEFINED.  I found some incorrect
ldrsb's and ldrsh's that I think would best be interpreted as UNDEFINED 
instead

Here are some examples. (These all have SBZ regions that aren't zeroed out)...
2fe40: 001001d0ldrsbeq r0, [r0], -r0
2fe44: 001001d1ldrsbeq r0, [r0], -r1
2fe48: 001001d2ldrsbeq r0, [r0], -r2
2fe4c: 001001d3ldrsbeq r0, [r0], -r3
2fe50: 001001d4ldrsbeq r0, [r0], -r4
2fe54: 001001d5ldrsbeq r0, [r0], -r5
2fe58: 001001d6ldrsbeq r0, [r0], -r6
2fe5c: 001001d7ldrsbeq r0, [r0], -r7
2fe60: 001001d8ldrsbeq r0, [r0], -r8
2fe64: 001001d9ldrsbeq r0, [r0], -r9

2fec0: 001001f0ldrsheq r0, [r0], -r0
2fec4: 001001f1ldrsheq r0, [r0], -r1
2fec8: 001001f2ldrsheq r0, [r0], -r2
2fecc: 001001f3ldrsheq r0, [r0], -r3
2fed0: 001001f4ldrsheq r0, [r0], -r4
2fed4: 001001f5ldrsheq r0, [r0], -r5
2fed8: 001001f6ldrsheq r0, [r0], -r6

...etc.

Would it be hard for you to make these return UNDEFINED?

cs


-- 


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

--- 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 gold/10400] Gold produces incorrect debug and unwind info when incompatible COMDAT sections are present

2009-07-16 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-07-17 
01:07 ---
Subject: Bug 10400

CVSROOT:/cvs/src
Module name:src
Changes by: i...@sourceware.org 2009-07-17 01:07:34

Modified files:
gold   : ChangeLog layout.cc layout.h object.cc object.h 
 plugin.cc 

Log message:
PR 10400
* layout.h: #include map.
(class Kept_section): Change from struct to class.  Add accessors
and setters.  Add section size to Comdat_group mapping.  Change
Comdat_group to std::map.  Add is_comdat_ field.  Add
linkonce_size field in union.
(class Layout): Update declaration of find_or_add_kept_section.
Don't declare find_kept_object.
* layout.cc (Layout::find_or_add_kept_section): Remove candidate
parameter.  Add object, shndx, is_comdat, and is_group_name
parameters.  Change all callers.  Adjust for new Kept_section.
(Layout::find_kept_object): Remove.
* object.cc (Sized_relobj::include_section_group): Update use of
Kept_section.  Rename secnum to shndx.  Only record
Kept_comdat_section if sections are the same size.
(Sized_relobj::include_linkonce_section): Update use of
Kept_section.  Only record Kept_comdat_section if sections are the
same size.  Set size of linkonce section.
(Sized_relobj::map_to_kept_section): Update call to
get_kept_comdat_section.
* object.h (class Sized_relobj): Rename fields in
Kept_comdat_section to drop trailing underscores; change object
field to Relobj*.  Change Kept_comdat_section_table to store
struct rather than pointer.
(Sized_relobj::set_kept_comdat_section): Remove kept parameter.
Add kept_object and kept_shndx parameters.  Change all callers.
(Sized_relobj::get_kept_comdat_section): Change return type to
bool.  Add kept_object and kept_shndx parameters.  Change all
callers.
* plugin.cc (Pluginobj::include_comdat_group): Update call to
Layout::find_or_add_kept_section.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=srcr1=1.257r2=1.258
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=srcr1=1.131r2=1.132
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/layout.h.diff?cvsroot=srcr1=1.67r2=1.68
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/object.cc.diff?cvsroot=srcr1=1.95r2=1.96
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/object.h.diff?cvsroot=srcr1=1.75r2=1.76
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/plugin.cc.diff?cvsroot=srcr1=1.15r2=1.16



-- 


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

--- 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 gold/10400] Gold produces incorrect debug and unwind info when incompatible COMDAT sections are present

2009-07-16 Thread ian at airs dot com

--- Additional Comments From ian at airs dot com  2009-07-17 01:28 ---
Patch committed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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

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