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]

AARCH64 text start address: why so low?


As I was looking at the aarch64 text start address for Linux, I 
wondered why it defaulted to 4MB (well within the first 4GB) instead 
of (like alpha, mips64 elf, sparc64, hppa64, etc.) defaulting to a
starting address at or above 4GB.

Given there is a minimum of 39 address bits (512GB) of address space,
skipping first 4 GB shouldn't be a problem.

The reason for putting the text start above 4GB is to easily find
address truncation errors (loading a 32-bit pointer will quickly
cause a SEGV).


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