diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-17 17:18:09 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-17 17:18:09 +0000 |
commit | 301335a80b85f12c018e4acf1a2c28615e119f8d (patch) | |
tree | f3b4c73836d6851db917cfe7b551e25cac6912ee /src/ldso/x32 | |
parent | 6fc30c2493fcfedec89e45088bea87766a1e3286 (diff) | |
download | musl-301335a80b85f12c018e4acf1a2c28615e119f8d.tar.gz musl-301335a80b85f12c018e4acf1a2c28615e119f8d.tar.xz musl-301335a80b85f12c018e4acf1a2c28615e119f8d.zip |
begin refactoring load address computations in dynamic linker
for ordinary ELF with fixed segment displacements, load address computation is simply adding the base load address. but for FDPIC, each segment has its own load address, and virtual addresses need to be adjusted according to the segment they fall in. abstracting this computation is the first step to making the dynamic linker ready for FDPIC. for this first commit, a macro is used rather than a function in order to facilitate correctness checking. I have verified that the generated code does not change on my i386 build.
Diffstat (limited to 'src/ldso/x32')
0 files changed, 0 insertions, 0 deletions