[Bug binutils/9811] New: export table broken after forward (dlltool)

2009-02-04 Thread Christoph at ApiViewer dot de
This will break the export table:

enumpor...@24=winspool.drv.enumportsw @50

-- 
   Summary: export table broken after forward (dlltool)
   Product: binutils
   Version: 2.19
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: Christoph at ApiViewer dot de
CC: bug-binutils at gnu dot org


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

--- 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/9805] ld man page error re: options --allow-shlib-undefined/--no-allow-shlib-undefined

2009-02-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-02-04 
09:13 ---
Subject: Bug 9805

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2009-02-04 09:13:23

Modified files:
ld : ChangeLog ld.texinfo 

Log message:
PR 9805
* ld.texinfo (--allow-shlib-undefined): Correct description of
default settings and tidy up the rest of the entry.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.1924&r2=1.1925
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ld.texinfo.diff?cvsroot=src&r1=1.229&r2=1.230



-- 


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

--- 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/9805] ld man page error re: options --allow-shlib-undefined/--no-allow-shlib-undefined

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 09:14 
---
Hi Francis,

  Great - I have committed the patch along with this changelog entry.

Cheers
  Nick

ld/ChangeLog
2009-02-04  Nick Clifton  

PR 9805
* ld.texinfo (--allow-shlib-undefined): Correct description of
default settings and tidy up the rest of the entry.


-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

--- 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/9812] New: gold build failure "format not a string literal and no format arguments"

2009-02-04 Thread baldrick at free dot fr
On ubuntu (jaunty), the build of the gold plugin fails with:

../../src/gold/reduced_debug_output.h: In member function 'void
gold::Output_reduced_debug_abbrev_section::failed(std::string)':
../../src/gold/reduced_debug_output.h:67: error: format not a string literal and
no format arguments
../../src/gold/reduced_debug_output.h: In member function 'void
gold::Output_reduced_debug_info_section::failed(std::string)':
../../src/gold/reduced_debug_output.h:113: error: format not a string literal
and no format arguments

Presumably -Wformat is on by default in ubuntu's gcc.  The following patch
fixes it:

Index: gold/reduced_debug_output.h
===
--- gold.orig/reduced_debug_output.h2009-02-04 10:18:27.0 +0100
+++ gold/reduced_debug_output.h 2009-02-04 10:27:50.0 +0100
@@ -64,7 +64,7 @@
   void
   failed(std::string reason)
   {
-gold_warning(reason.c_str());
+gold_warning("%s", reason.c_str());
 failed_ = true;
   }

@@ -110,7 +110,7 @@
   void
   failed(std::string reason)
   {
-gold_warning(reason.c_str());
+gold_warning("%s", reason.c_str());
 this->failed_ = true;
   }

-- 
   Summary: gold build failure "format not a string literal and no
format arguments"
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: ian at airs dot com
ReportedBy: baldrick at free dot fr
CC: bug-binutils at gnu dot org


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

--- 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/9812] gold build failure "format not a string literal and no format arguments"

2009-02-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-02-04 
15:19 ---
Subject: Bug 9812

CVSROOT:/cvs/src
Module name:src
Changes by: i...@sourceware.org 2009-02-04 15:18:51

Modified files:
gold   : ChangeLog reduced_debug_output.h 

Log message:
PR 9812
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.174&r2=1.175
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/reduced_debug_output.h.diff?cvsroot=src&r1=1.1&r2=1.2



-- 


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

--- 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/9812] gold build failure "format not a string literal and no format arguments"

2009-02-04 Thread ian at airs dot com

--- Additional Comments From ian at airs dot com  2009-02-04 15:21 ---
Thanks.  Patch applied with this ChangeLog entry.

2009-02-04  Duncan Sands  

PR 9812
* reduced_debug_output.h
(Output_reduced_debug_abbrev_section::failed): Use format for
gold_warning.
(Output_reduced_debug_info_section::faild): Likewise.

http://sourceware.org/ml/binutils/2009-02/msg00033.html

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread christophe dot lyon at st dot com

--- Additional Comments From christophe dot lyon at st dot com  2009-02-04 
10:27 ---
Created an attachment (id=3709)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3709&action=view)
testcase


-- 


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

--- 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/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 10:49 
---
Hi Christophe,

  Please try out the uploaded patch and let me know what you think.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/9814] New: Gas uses Thumb padding within ARM code

2009-02-04 Thread christophe dot lyon at st dot com
Bug report linked to http://sourceware.org/ml/binutils/2009-01/msg00380.html

If I assemble the attached ARM/Thumb code using arm-none-eabi-as, and look at
the object file with objdump, I can see:
Disassembly of section .text:

 :
   0:   e12fff1ebx  lr
   4:   46c046c0strbmi  r4, [r0], r0, asr #13
   8:   46c046c0strbmi  r4, [r0], r0, asr #13
   c:   46c046c0strbmi  r4, [r0], r0, asr #13

Disassembly of section .far_thumb:
 :
   0:   e12fff1ebx  lr
0004 :
   4:   4770bx  lr
0006 :
   6:   4770bx  lr

I don't understand why app_func2 is padded with Thumb NOPs while it is written
in ARM mode. If I remove the .thumb_func directive (after lab2), then the
padding is encoded in ARM.

I tried to understand where gas does this padding, but I couldn't find it.

-- 
   Summary: Gas uses Thumb padding within ARM code
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: christophe dot lyon at st dot com
CC: bug-binutils at gnu dot org
GCC target triplet: arm-none-eabi


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

--- 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/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-02-04 10:48 
---
Created an attachment (id=3711)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3711&action=view)
Record the current mode in the current frag as instructions are generated.


-- 


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

--- 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/9814] Gas uses Thumb padding within ARM code

2009-02-04 Thread christophe dot lyon at st dot com

--- Additional Comments From christophe dot lyon at st dot com  2009-02-04 
18:05 ---
Your patch indeed fixes my problem.

I am a bit unconfortable that the root cause does not seem to be well 
understood.

>From what I see, the offending frag is used in output_inst as called from
perform_an_assembly_pass, but is initialised later when arm_init_frag is called
from subsegs_finish.

I am not familiar with gas, so I don't know whether this is correct or not.


-- 


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

--- 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/9811] export table broken after forward (dlltool)

2009-02-04 Thread dannysmith at users dot sourceforge dot net


-- 
   What|Removed |Added

 CC||dannysmith at users dot
   ||sourceforge dot net


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

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