diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-06-20 20:08:03 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2014-06-20 20:22:42 +0100 |
commit | 90e5dd482fc4708d559fbec9740104470ffdb9df (patch) | |
tree | 0e1cf5705463c270c44330e0b8b4660004dc55e6 /ChangeLog | |
parent | 809fdf0d23ddb683eb60672465d7a39d02ef272b (diff) | |
download | glibc-90e5dd482fc4708d559fbec9740104470ffdb9df.tar.gz glibc-90e5dd482fc4708d559fbec9740104470ffdb9df.tar.xz glibc-90e5dd482fc4708d559fbec9740104470ffdb9df.zip |
[BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC
This fixes the calculation of R_ARM_TLS_DESC relocations for lazy global symbol references, i.e. created with `-z lazy' in effect with the static linker, where immediate resolution is requested with LD_BIND_NOW.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 84f07d2048..fbbd5d2689 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,31 @@ +2014-06-20 Maciej W. Rozycki <macro@codesourcery.com> + + [BZ #17075] + * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>: + Fix calculation of the symbol's value. + * sysdeps/arm/tst-armtlsdescloc.c: New file. + * sysdeps/arm/tst-armtlsdesclocmod.c: New file. + * sysdeps/arm/tst-armtlsdescextnow.c: New file. + * sysdeps/arm/tst-armtlsdescextlazymod.c: New file. + * sysdeps/arm/tst-armtlsdescextlazy.c: New file. + * sysdeps/arm/tst-armtlsdescextnowmod.c: New file. + * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc', + `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'. + (modules-names): Add `tst-armtlsdescmod', + `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'. + (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable. + (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise. + (CFLAGS-tst-armtlsdesclocmod.c): Likewise. + (CFLAGS-tst-armtlsdescextnowmod.c): Likewise. + (CFLAGS-tst-armtlsdescextlazymod.c): Likewise. + (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise. + ($(objpfx)tst-armtlsdescloc): New dependency. + ($(objpfx)tst-armtlsdescextnow): Likewise. + ($(objpfx)tst-armtlsdescextlazy): Likewise. + * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor + TLS scheme support. + * sysdeps/arm/configure: Regenerate. + 2014-06-20 Joseph Myers <joseph@codesourcery.com> * include/fcntl.h (__atfct_seterrno): Remove prototype. |