[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-11-05 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-11-05 10:53 --- sorry for getting back to you after such a long time. i have been reassigned to another job and am not working on the ARM assignment now, maybe later. that's why, i will not be able to follow up on GC

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-08-25 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-08-25 13:19 --- hello Nick: i do not know how to use patches and need to learn how first. also, after applying your patch, a build of binutils is needed which really takes days for me as we have frequent power cuts. besides

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-30 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-30 11:43 --- since Michael Fischer of Yagarto was persistent, we have found another bug in the generated Interworking code when GC is enabled and -Ttext is positioned before -Tdata on the LD command line. the problem is

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-30 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-30 11:40 --- with Michael Fischer's persistence and after checking again using binutils-2.18.50, i came to the conclusion that the problem described in this bug is not yet fixed. a note has been sent to Nick Clifton

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-23 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-23 15:20 --- just to clarify, the problem is fixed in binutils-2.18.50 that was downloaded from ftp://sourceware.org/pub/binutils/snapshots. today morning's snapshot was used. thank you, Cygnus, R

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-23 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-23 15:16 --- Nick: first of all, the problem is not fixed in binutils-2.18, the latest stable release. as suggested by you, i attempted to get the latest sources from CVS. i am not sure that the CVS checkout completed

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-23 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-23 15:13 --- i was able to download and build binutils-2.18.50 that was released today. after building it, i verified that the bug described in this report has been fixed. also, i confirmed that problem in bug6727 has also

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-23 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-23 09:28 --- hello Nick: i just tested using latest GNUARM distribution from GNUARM.org. no, the problem has not been fixed in binutils 2.18. this is the distribution i used for testing: binutils-2.18, gcc-4.2.2-c-c

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-23 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-23 09:17 --- i just checked with the latest GNUARM distribution from GNUARM.org. as you stated, the problem has been solved in the latest binutils. this is the latest GNUARM package that i used for confirming the fix

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-17 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-17 10:12 --- Nick: pls see bug6726 for a few queries. Aaron -- http://sourceware.org/bugzilla/show_bug.cgi?id=6727 --- You are receiving this mail because: --- You are on the CC list for the bug, or are

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-17 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-17 10:10 --- hello Nick again: > I should also point out that you should not be invoking the linker directly. > Please use gcc to run the linker as this will ensure that the correct command > line options

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-17 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-17 10:04 --- good day Nick: > if you try the latest binutils sources (from the mainline of the CVS > repository) you will find that the bug goes away. how do i build binutils from source for ARM? i followed instru

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-14 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-15 03:13 --- hello Nick: i was a bit busy with official work, so i could not get back to you. i will try the latest binutils and let you know what i find. Aaron -- http://sourceware.org/bugzilla/show_bug.cgi?id=6727

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 06:54 --- i found a way to prevent the error from occuring. all you have to do is to insert a global symbol in the first section that is resolved by another file that is also linked in at the same time. voila! the

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 06:52 --- Created an attachment (id=2819) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2819&action=view) Makefile, 2 assembly files, C file to prevent the error Makefile, 2 assembly files, C file to

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 08:24 --- Created an attachment (id=2821) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2821&action=view) Makefile, 2 assembly files, C file to prevent the error when: - --gc-sections is enabled - .d

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 08:19 --- Created an attachment (id=2820) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2820&action=view) Makefile, 2 assembly files, C file to reproduce the error when: - --gc-sections is enabled - .d

[Bug ld/6727] New: Thumb interworking code zero under certain circumstances

2008-07-08 Thread adsouzp at netscape dot net
tatus: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: adsouzp at netscape dot net CC: bug-binutils at gnu dot org GCC host triplet: CYGWIN_NT-5.1 jenny 1.5.25(0.156/4/2) 200

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 07:13 --- i found out how to eliminate the problem: - when you enable --gc-sections and Thumb interworking, all you need to do is to define the entry point. either define _start or the symbol defined using

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-08 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 08:07 --- i narrowed down the exact situation when Thumb interworking code is zero. - when you position any section, say .data, before you position .text using --section-start or -Tdata for other sections and -Ttext

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 05:23 --- (From update of attachment 2817) leave this attachment to enable download. -- What|Removed |Added

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 05:21 --- Created an attachment (id=2818) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2818&action=view) contains the Makefile, Assembly file and C file to reproduce the problem contains the M

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 05:20 --- (From update of attachment 2817) will attach the code again as text to enable viewing. -- What|Removed |Added

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 05:18 --- here are the output and error messages: veneer2> make arm-elf-as -mno-fpu -march=armv4t -mcpu=arm7tdmi -mthumb-interwork

[Bug ld/6726] enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
--- Additional Comments From adsouzp at netscape dot net 2008-07-08 05:16 --- Created an attachment (id=2817) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2817&action=view) contains the Makefile, Assembly file and C file to reproduce the problem Makefile, ARM assembly,

[Bug ld/6726] New: enabling LD garbage collection with Thumb interworking causes ASSERT in ldlang.c line 4275

2008-07-07 Thread adsouzp at netscape dot net
: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: adsouzp at netscape dot net CC: bug-binutils at gnu dot org GCC host triplet: CYGWIN_NT-5.1 jenny 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygw GCC target triplet: ARM ELF