public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* archs need fixing
@ 2005-01-06 22:50 Ulrich Drepper
  2005-01-10  4:47 ` [PATCH] SH: " Kaz Kojima
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Drepper @ 2005-01-06 22:50 UTC (permalink / raw)
  To: GNU libc hacker

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

As you might have seen, I've broken all archs beside x86 and x86-64. 
Arch maintainers need to do the following things:

- break out the PLT lookup trampolines from dl-machine.h and put
   them in a separate file dl-trampoline.S

- <bits/link.h> must be defined.  Look at the x86/x86-64 variants.
   The structures must contain enough information to get to all function
   parameters and all function results.

This should get things compiling again.


The next step is to extend the _dl_profile_fixup trampoline to pass 
additional parameters to _dl_profile_fixup.  The code must construct the 
structures in <bits/link.h>.  Also, _dl_call_pltexit must be called. 
It's not much code that needs to be added, but it's tricky.  ldsodefs.h 
needs to get the appropriate function definitions.

tst-audit1 is a basic test.  You need to add the arch-specific functions 
there.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-01-13  4:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 22:50 archs need fixing Ulrich Drepper
2005-01-10  4:47 ` [PATCH] SH: " Kaz Kojima
2005-01-10  4:58   ` Kaz Kojima
2005-01-13  2:08     ` Ulrich Drepper
2005-01-13  4:09       ` Kaz Kojima
2005-01-12  2:59   ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).