Browse Source

note a few more places where glibc stores their stuff

Mike Frysinger 19 years ago
parent
commit
b83bc367b7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/PORTING

+ 2 - 0
docs/PORTING

@@ -77,6 +77,7 @@ TODO: nptl / linuxthreads / linuxthreads.old
 - dl-startup.h:
 - dl-startup.h:
   - define the _start function which should call _dl_start which takes just one
   - define the _start function which should call _dl_start which takes just one
     parameter ... a pointer to argc (usually on the stack)
     parameter ... a pointer to argc (usually on the stack)
+    glibc stores this function in libc/sysdeps/ARCH/dl-machine.h as RTLD_START
   - define the GET_ARGV() macro which calculates the value of argv based upon
   - define the GET_ARGV() macro which calculates the value of argv based upon
     the parameter passed to _dl_start (usually it's simply just ARGS+1)
     the parameter passed to _dl_start (usually it's simply just ARGS+1)
   - define PERFORM_BOOTSTRAP_RELOC() macro which will handle just the relocs
   - define PERFORM_BOOTSTRAP_RELOC() macro which will handle just the relocs
@@ -113,3 +114,4 @@ TODO: nptl / linuxthreads / linuxthreads.old
   - call _dl_linux_resolver()
   - call _dl_linux_resolver()
   - clean up after call
   - clean up after call
   - jump to function address now stored in PLT
   - jump to function address now stored in PLT
+  glibc stores this function in libc/sysdeps/ARCH/dl-trampoline.S