musl/arch
Bobby Bingham 611eabd489 superh: fix dynamic linking of __fpscr_values
Applications ended up with copy relocations for this array, which
resulted in libc's references to this array pointing to the
application's copy.  The dynamic linker, however, can require this array
before the application is relocated, and therefore before the
application's copy of this array is initialized.  This resulted in
garbage being loaded into FPSCR before executing main, which violated
the ABI.

We fix this by putting the array in crt1 and making the libc copy
private.  This prevents libc's reference to the array from pointing to
an uninitialized copy in the application.
2014-03-16 16:17:28 -05:00
..
arm move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
i386 move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
microblaze move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
mips fix statfs struct on mips 2014-03-12 18:08:58 +01:00
powerpc fix socket.h struct msghdr member types on powerpc 2014-03-11 17:21:38 -04:00
sh superh: fix dynamic linking of __fpscr_values 2014-03-16 16:17:28 -05:00
x32 move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
x86_64 move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00