Your ld changes caused cris-axis-elf regressions
H. J. Lu
hjl@lucon.org
Wed Mar 23 10:04:00 GMT 2005
On Wed, Mar 23, 2005 at 06:00:40AM +0100, Hans-Peter Nilsson wrote:
> (Forgot to CC the list again. Agh!)
>
> This change
>
> + 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
> +
> + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
> + (gld${EMULATION_NAME}_finish): Call
> + gld${EMULATION_NAME}_provide_bound_symbols to provide
> + __preinit_array_start, __preinit_array_end, __init_array_start,
> + __init_array_end, __fini_array_start and __fini_array_end.
> +
> + * scripttempl/elf.sc: Don't provide __preinit_array_start,
> + __preinit_array_end, __init_array_start, __init_array_end,
> + __fini_array_start nor __fini_array_end.
> +
>
> caused these FAILs: (Likely similarly for other ld-* targets
> too, including mmix-knuth-mmixware ;-)
I have no problem with mmix-knuth-mmixware crossing from Linux/x86_64.
>
> FAIL: ld-cris/libdso-10
> FAIL: ld-cris/libdso-11
> FAIL: ld-cris/libdso-12
> FAIL: ld-cris/libdso-14
> FAIL: ld-cris/libdso-2
> FAIL: ld-cris/expdyn5
> FAIL: ld-cris/expdyn6
> FAIL: ld-cris/expdyn7
> FAIL: ld-cris/gotplt1
> FAIL: ld-cris/gotplt2
> FAIL: ld-cris/gotplt3
> FAIL: ld-cris/locref1
> FAIL: ld-cris/locref2
> FAIL: ld-cris/nodyn5
> FAIL: ld-cris/pv32-1
> FAIL: ld-cris/weakref2
>
The change I made removed an unnecessary "ALIGN" before .init_array
in elf.sc, which may change memory layout. I don't have any problems
with ia32, ia64 and x86_64.
BTW, I got many gas failures for cris-elf on Linux/x86_64. Is cris-elf
64bit clean? Please fix gas failures first. I will update ld-cris tests
later.
H.J.
More information about the Binutils
mailing list