[Bug gas/10359] New: .long offset is not resolved

2009-07-01 Thread MR dot Swami dot Reddy at nsc dot com
.long directive offset is not resolved if the section name ith ""aw",@progbits" Consider a test case: test_eh.s .file "test_eh.cc" .section .eh_frame,"aw",@progbits # .section .eh_frame .Lframe1: .long .LECIE1-.LSCIE1 .LSCIE1: .long 0x0 .LECIE1: .ident "GCC: (GNU)

[BUG] cr16-elf-as: .long directive offset is not resolved if section name with ""aw",@progbits"

2009-07-01 Thread M R Swami Reddy
Hello, Below test case: test_eh.s .file "test_eh.cc" .section .eh_frame,"aw",@progbits # .section .eh_frame .L1: .long .L3-.L2 .L2: .long 0x0 .L3: .ident "GCC: (GNU) 4.1.2" Command line: > cr16-elf-gcc test_eh.s -c > cr16-elf-objdump -r test_eh.o RELOCATION RECORD

[Bug gold/10358] New: build fails when compiling with gcc 3.4.6

2009-07-01 Thread bill at baddogconsulting dot com
make[4]: Entering directory `/home/bdeegan/kits/src/binutils/src/gold' if g++ -DHAVE_CONFIG_H -I. -I.././gold -I. -I.././gold -I.././gold/../include -I.././gold/../elfcpp -DLOCALEDIR="\"/home/bdeegan/tools/stow/goldlink/share/locale\"" -DBINDIR="\"/home/bdeegan/tools/stow/goldlink/bin\"" -DTOOLBIND

[Bug gas/10168] Wrong machine code for Thumb2 instruction PKHTB

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 16:37 --- Hi Anthony, Thanks for reporting this bug. I have checked in the uploaded patch to fix the problem and adjust the gas testsuite to take the change into account. Cheers Nick gas/ChangeLog PR 10168

[Bug gas/10168] Wrong machine code for Thumb2 instruction PKHTB

2009-07-01 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-01 16:36 --- Subject: Bug 10168 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-07-01 16:36:29 Modified files: gas: ChangeLog gas/config : t

[Bug gas/10168] Wrong machine code for Thumb2 instruction PKHTB

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 16:33 --- Created an attachment (id=4034) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4034&action=view) Fix opcode generation and testsuite -- http://sourceware.org/bugzilla/show_bug.cgi?id=10168 --- You

Re: 32bits specific code in do_adjust_elf_header()

2009-07-01 Thread Ian Lance Taylor
Roman Divacky writes: > Target_freebsd::do_adjust_elf_header() > > there is 32specific code that does not work on 64bit platforms > > this: > > gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size); > > elfcpp::Ehdr<32, false> ehdr(view); > > > the 32 does not work on 64bit platform (ie.

[Bug gas/10167] Thumb2 instruction ORN not supported

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 15:59 --- Not a bug -- What|Removed |Added Status|NEW |RESOLVED

[Bug gas/10167] Thumb2 instruction ORN not supported

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 15:59 --- Hi Anthony, Yes it does. You just need to tell the assembler that you are in thumb mode. ie: % echo ".thumb\n orn r1,r2,r3" | arm-elf-as -o /dev/null % arm-elf-objdump -d a.out [...] 0: ea62 0103

[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-07-01 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-01 15:52 --- Subject: Bug 6714 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-07-01 15:52:28 Modified files: binutils : ChangeLog rclex.c Log message:

[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 15:52 --- Hi Carl, Thank you for submitting a test case, and sorry for taking so long to reply to your posting. You are correct, windres was not concatenating quoted strings as it ought to have been doing. I am going

[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 15:48 --- Created an attachment (id=4033) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4033&action=view) Join quoted strings separated by whitespace. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6714 ---

32bits specific code in do_adjust_elf_header()

2009-07-01 Thread Roman Divacky
hi in Target_freebsd::do_adjust_elf_header() there is 32specific code that does not work on 64bit platforms this: gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size); elfcpp::Ehdr<32, false> ehdr(view); the 32 does not work on 64bit platform (ie. amd64), I believe it should be ei

[Bug ld/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c

2009-07-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-01 14:47 --- Hi Owen, Thanks for the test case, and sorry for the long delay in getting back to this bug. Using that test case and the second version of the patch I created I get a working executable (which prints 0x000

[Bug ld/10356] New: Segfault in ld with --eh-frame-header for Thumb2

2009-07-01 Thread ramana at sourceware dot org
Hi, In attempting to bootstrap gcc in Thumb2 state on an Ubuntu distribution using ld from cvs as of GNU ld (GNU Binutils) 2.19.51.20090630 as well as GNU ld (GNU Binutils for Ubuntu) 2.19.51.20090622, I see the following segfault while linking f951. The way I've configured gcc for the bootstrap

Re: cr16-elf tools error: no .eh_frame_hdr table will be created.

2009-07-01 Thread Alan Modra
On Tue, Jun 30, 2009 at 01:24:22PM +0530, M R Swami Reddy wrote: > Hi Alan, > I have changed the relocs to solve in gas as shown below: > === > RELOCATION RECORDS FOR [.eh_frame]: > OFFSET TYPE VALUE > R_CR16_SWITCH32 .LECIE1 > 0012 R_CR16_NUM32a ___gxx_personality