http://sourceware.org/bugzilla/show_bug.cgi?id=3041
--- Comment #25 from cvs-commit at gcc dot gnu.org 2011-02-07 00:04:12 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-02-07 00:04:09
Modified files:
gas/testsuite : ChangeLog
gas/testsuit
http://sourceware.org/bugzilla/show_bug.cgi?id=3041
--- Comment #26 from cvs-commit at gcc dot gnu.org 2011-02-07 00:04:47 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_21-branch
Changes by:amo...@sourceware.org2011-02-07 00:04:44
Modified files:
gas/testsui
http://sourceware.org/bugzilla/show_bug.cgi?id=3041
--- Comment #24 from Vincent Rivière
2010-11-21 19:36:15 UTC ---
Created attachment 5133
--> http://sourceware.org/bugzilla/attachment.cgi?id=5133
Patch for pc-relative weak references
In reference to this commit:
http://sourceware.org/ml/bi
--- Additional Comments From vincent dot riviere at freesbee dot fr
2009-10-13 23:54 ---
Yes, I believe other targets using a.out for other processors are affected,
too, but I cowardly fixed the bug only for m68k.
It would probably be more clean to fix bfd_install_relocation(), but that
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-13
23:47 ---
This patch probably is relevant for other targets too. I can't ask you to look
at them as I fully sympathize with your comment #8 regarding time spent in the
debugger.
--
http://sourceware.org/bugzill
--- Additional Comments From vincent dot riviere at freesbee dot fr
2009-10-13 19:41 ---
Many thanks, Nick.
I see it is too late for 2.20.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3041
--- You are receiving this mail because: ---
You are on the CC list for the bug,
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-10-13
08:55 ---
Subject: Bug 3041
CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2009-10-13 08:55:31
Modified files:
gas: ChangeLog
gas/config : tc
--- Additional Comments From nickc at redhat dot com 2009-10-13 08:55
---
Hi Vincent,
Thanks for the patches. I have applied them, along with your changelog
entries.
Cheers
Nick
--
What|Removed |Added
-
--- Additional Comments From vincent dot riviere at freesbee dot fr
2009-10-07 20:11 ---
Here are proposals for the ChangeLog.
gas:
2009-10-07 Vincent Riviere
PR gas/3041
* config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
located in data sect
--- Additional Comments From vincent dot riviere at freesbee dot fr
2009-10-03 16:38 ---
Created an attachment (id=4250)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4250&action=view)
Fix addend for weak references to data symbols
The attached patch fixes this problem.
I inclu
--- Additional Comments From vincent dot riviere at freesbee dot fr
2009-10-03 16:31 ---
The resulting addend is still wrong when the referenced symbol is defined as
weak in the .data or .bss section.
This happens in binutils 2.19.1 and the latest 2.20 from CVS.
--
What
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-05-17 16:34 ---
After looking at this a bit closer, I think these 4 failures are unrelated to
my patch. Furthermore, I think the actual result is good - atleast for m68k-*-
netbsd. But it should be checked by a m68
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-05-15 21:44 ---
Great !
Thank you, Nick.
My testcase passes.
But some tests fails :
1) gas/all/weakref1u.d
It seems that this test should not be run on a.out targets.
I propose to not-target it for m68k-*-netbsd.
--- Additional Comments From nickc at redhat dot com 2007-05-15 10:21
---
Hi Vincent,
Thanks for the revised patch. I have applied it, and added your revised test
case as an entry in the m68k gas testsuite.
Cheers
Nick
gas/ChangeLog
2007-05-15 Vincent Riviere <[EMAIL PROTECTED]
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-05-08 14:37 ---
Reopen the bug due to the previous comment.
--
What|Removed |Added
Stat
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-05-08 14:35 ---
Created an attachment (id=1778)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1778&action=view)
Write correct offsets into a.out object files
There is still a bug when the reference to the
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-05-03 20:04 ---
Great !
It works as expected.
Even the linker does its job when linking with another object containing a
strong symbol with the same name.
Thank you Nick !
--
http://sourceware.org/bugzilla/sh
--- Additional Comments From nickc at redhat dot com 2007-05-03 17:25
---
Hi Vincent,
Thanks for the patch. I have exmained it and it is fine, so I have checked it
into the sources along with these ChangeLog entries.
Cheers
Nick
gas/ChangeLog
2007-05-03 Vincent Riviere <[EMAIL
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-04-28 21:38 ---
Created an attachment (id=1739)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1739&action=view)
Write correct values and relocs into a.out object files
After spending *weeks* in the debugge
--- Additional Comments From vincent dot riviere at freesbee dot fr
2007-04-09 21:59 ---
I found an allusion to a weak-bug in bfd/aout-cris.c
In MY (swap_ext_reloc_out) :
...
if (bfd_is_und_section (bfd_get_section (sym))
/* Remember to check for weak symbols; they count
--- Additional Comments From vincent dot riviere at freesbee dot fr
2006-09-09 10:31 ---
A lot better this time !
But half-fixed.
$ as bug.s -o bug.o
$ objdump -d bug.o
bug.o: file format a.out-m68k-netbsd
Disassembly of section .text:
:
0: 4ef9 0010 jmp 10
--- Additional Comments From nickc at redhat dot com 2006-09-09 08:52
---
Created an attachment (id=1292)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1292&action=view)
When writing out a.out relocations, treat relocs against weak symbols as if
they were against externals
--
--- Additional Comments From nickc at redhat dot com 2006-09-09 08:50
---
Hi Vincent,
Boy I must have been asleep when I wrote that patch, it was completely bogus.
Oh well, I have uploaded another one for you to try. This time I have actually
tested it with the test case you supplie
--- Additional Comments From vincent dot riviere at freesbee dot fr
2006-09-08 20:46 ---
Sorry, your fix does not work because... it is not compiled !!!
It is inside a #ifdef OBJ_ELF block, but the m68k-unknown-netbsd target uses
the a.out format.
Furthermore, I think you forgot to remo
--- Additional Comments From nickc at redhat dot com 2006-09-07 16:48
---
Hi Vincent,
Please could you try the uploaded patch. I think that it fix the assembler
for you.
Cheers
Nick
--
What|Removed |Added
--
--- Additional Comments From nickc at redhat dot com 2006-09-07 16:47
---
Created an attachment (id=1287)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1287&action=view)
Do not convert fixups against weak symbols
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3041
-
26 matches
Mail list logo