This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/AARCH64] Fix TLS for ILP32


Hi,
  In ILP32, the thread control block is 2 pointers or 4 byte in size.
This patch fixes the code so that it uses the correct offset for the
TLS variables.

OK?  Built and tested on aarch64-linux-gnu with no regressions.

Thanks,
Andrew

ChangeLog:
* elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a
fixed size of 16.

Attachment: fixtlsilp32.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]