[Bug ld/4844] auto-import and const data import problem

2009-02-25 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-02-26 05:59 --- (In reply to comment #18) > If it turns out that > too many users are tripped up by this problem then we can reconsider enabling > the move-constant-data-into-.data-section feature by default.

[Bug ld/4844] auto-import and const data import problem

2007-10-04 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-04 13:57 --- Hi Eric, OK, I have checked in the revised warning message patch. If it turns out that too many users are tripped up by this problem then we can reconsider enabling the move-constant-data-into-.data-section fea

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2007-10-02 18:19 --- > But only if you are using constant data structures. (That need to be > auto-imported ?) And only if the user did not put --enable-auto-import on > their command line. Constant data structures refere

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-02 14:31 --- Subject: Re: auto-import and const data import problem Hi Eric, >> Eric - I am not sure that making the .rdata section writeable is as simple >> as it is for the .text section and I am not at all sure that this

Re: [Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread Nick Clifton
Hi Eric, Eric - I am not sure that making the .rdata section writeable is as simple as it is for the .text section and I am not at all sure that this is something that we want to do. Note that this is effectively what the patch does. Point taken. Wouldn't it be easier to have pe_find_data_

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2007-10-02 13:21 --- > Eric - I am not sure that making the .rdata section writeable is as simple > as it is for the .text section and I am not at all sure that this is > something that we want to do. Note that this is effect

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-02 13:03 --- Created an attachment (id=2030) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2030&action=view) Generate a warning when auto-importing without --enable-auto-import -- http://sourceware.org/bugzilla/sh

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-02 13:02 --- oops, the changelog is: ld/testsuite/ 2007-10-02 Ralf Habecker <[EMAIL PROTECTED]> PR linker/4844 * ld-auto-import/auto-import.exp: Extend test to include running the application and che

[Bug ld/4844] auto-import and const data import problem

2007-10-02 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-02 13:01 --- Hi Ralf, Hi Eric, Ralf - thanks for the testsuite additions. I have checked them in together with a few formatting tidy-ups and the changelog entry below. Eric - I am not sure that making the .rdata section

[Bug ld/4844] auto-import and const data import problem

2007-10-01 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2007-10-01 13:47 --- Hi Nick, > * The new script is only used when --enable-auto-import is present on the > linker command line, not when the linker magically enables auto import for > itself. (There appears to be code in

[Bug ld/4844] auto-import and const data import problem

2007-10-01 Thread ralf dot habacker at freenet dot de
-- What|Removed |Added Attachment #2028|text/plain |application/zip mime type|| Attachment #2028 is|1

[Bug ld/4844] auto-import and const data import problem

2007-10-01 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-10-01 12:20 --- Created an attachment (id=2028) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2028&action=view) ld testsuite extension -- What|Removed |Added -

[Bug ld/4844] auto-import and const data import problem

2007-10-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-01 09:54 --- Hi Ralf, OK, I am going to check the patch in with the ChangeLog below. I will not change the PE ports for non-x86 targets. If it turns out that this feature is needed for them then it will be very simple to a

[Bug ld/4844] auto-import and const data import problem

2007-09-29 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-09-29 15:32 --- Created an attachment (id=2026) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2026&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=4844 --- You are receiving t

[Bug ld/4844] auto-import and const data import problem

2007-09-29 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-09-29 15:30 --- I've build a recent binutils snapshot with your patch on cygwin. The described error does not occur, it looks to me that this patch solves the problem. -- http://sourceware.org/bugzilla/show_bug.

[Bug ld/4844] auto-import and const data import problem

2007-09-29 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-09-29 11:13 --- Just a few more notes after more digging into this stuff: - I found a technology preview of gcc 4 for mingw, which is usable. - a testcase I wrote for cygwin/mingw-gcc4 and mingw-gcc4 showed that the

[Bug ld/4844] auto-import and const data import problem

2007-09-29 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-09-29 10:14 --- Subject: Re: auto-import and const data import problem nickc at redhat dot com schrieb: > --- Additional Comments From nickc at redhat dot com 2007-09-28 11:57 > --- > Hi Ralf, > > OK, ple

[Bug ld/4844] auto-import and const data import problem

2007-09-28 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-09-28 11:57 --- Hi Ralf, OK, please could you try out the uploaded patch. There are several points that need to be looked at: * The fix is only enabled for x86 PE ports. Does it need to be enabled for other PE ports ? (AR

[Bug ld/4844] auto-import and const data import problem

2007-09-28 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-09-28 11:51 --- Created an attachment (id=2025) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2025&action=view) Add a special linker script for the --enable-auto-import option -- http://sourceware.org/bugzilla/show_b

[Bug ld/4844] auto-import and const data import problem

2007-09-28 Thread ralf dot habacker at freenet dot de
--- Additional Comments From ralf dot habacker at freenet dot de 2007-09-28 10:34 --- Thanks for taking this. The related linker script is listed in the following link http://www.cygwin.com/ml/cygwin/2004-10/msg01052.html. See for the text "/* specific linker script avoiding .rdata sec

[Bug ld/4844] auto-import and const data import problem

2007-09-28 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-09-28 08:57 --- Hi Ralf, I was trying to follow up on this problem, but I got a lost in the email trail. Can you create an attachment of the linker script that you would like to see the linker use in a case like this ? Then m