[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/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/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 instructions on

[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 are used.

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

2008-07-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-07-09 10:29 --- Hi Aaron, I believe that this is an old problem, and that if you try the latest binutils sources (from the mainline of the CVS repository) you will find that the bug goes away. Cheers Nick --

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

2008-07-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-07-09 10:34 --- Additional: 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 are used. Cheers Nick --

[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/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=2819action=view) Makefile, 2 assembly files, C file to prevent the error Makefile, 2 assembly files, C file to prevent 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: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-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=2817action=view) contains the Makefile, Assembly file and C file to reproduce the problem Makefile, ARM assembly, C code

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

[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:21 --- Created an attachment (id=2818) -- (http://sourceware.org/bugzilla/attachment.cgi?id=2818action=view) contains the Makefile, Assembly file and C file to reproduce the problem contains the Makefile, Assembly

[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