llvm-project
10b0bd6e - [lld-macho] Sign arm64e TLV bootstrap binds and list __auth_got in map files (#234004)

Commit
8 hours ago
[lld-macho] Sign arm64e TLV bootstrap binds and list __auth_got in map files (#234004) Two small arm64e changes: 1. Sign the arm64e TLV bootstrap pointer as ld64 does. The first word of a thread-local variable descriptor is bound to `__tlv_bootstrap`, which dyld replaces with a pointer to `tlv_get_addr` that TLV accesses call with `blraaz`. On arm64e, write that bind as an auth'd bind with the IA key and no diversity, even though the object asks for a plain pointer. 2. List arm64e `__auth_got` entries in the map file. The map file printed the entries of `__got` but not those of `__auth_got`, which holds the targets of the stubs and the personalities. Assisted-by: Claude
Author
Parents
Loading