PATCH: PR ld/5303: splay-tree doesn't support 64bit value on 32bit host
Alan Modra
amodra@bigpond.net.au
Tue Nov 13 22:35:00 GMT 2007
On Tue, Nov 13, 2007 at 09:18:45AM -0800, H.J. Lu wrote:
> Current linker is broken on 32bit host with 64bit BFD. The problem
> is splay-tree doesn't support 64bit value on bit host, but arange-set.c
> uses splay-tree on bfd_vma. Fixing it isn't easy since splay-tree is
> also used in gcc. We can't use #ifdef in splay-tree.h in gcc due
> to lack of #ifdef in gengtype in gcc. This patch will abort the
> linker if it detects such situation.
Aborting isn't a solution. I'll revert Doug's patch in a week or so
if someone can't find a proper solution, eg. fallback to old scheme
if splay tree support is inadeqaute.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list