summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/TODO
blob: 74659939f1f2253666dbdfa07fb1f2156a18068b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
rtld:
* map hints file read-only
* resolve MIPS binding lossage

binutils/gcc:
* alpha: why are there GLOB_DAT relocs in ld.elf_so?
* alpha: bogus textrels in rtti info
* mips: why are there global GOT relocs in ld.elf_so?
* mips: bogus textrels in .rel.dyn
* powerpc: make sure the .got section is always executable
* powerpc: fix ld scripts so that .rodata is still used for PIC

machine-specific #ifdefs:
headers.c:#ifdef __mips__
reloc.c:#if defined(__i386__) || defined(__arm__)
rtld.c:#if !defined(__arm__) && !defined(__mips__) && !defined(__sh__)
rtld.c:#ifndef __mips__
rtld.c:#ifdef __mips__
rtld.h:#ifdef __mips__
symbol.c:#ifndef __mips__

issues to research:
* sh, x86_64 have different absolute and GLOB_DAT relocs; nothing else does
* sh, vax, x86_64 use addend on PLT; nothing else does


rela: alpha hppa m68k powerpc sh sparc sparc64 vax x86_64
rel: arm i386 mips

untested/sketchy: hppa sh x86_64


- mycroft
  2003/09/24