[klibc] [parisc-linux] klibc parisc64
John David Anglin
dave at hiauly1.hia.nrc.ca
Mon Jul 24 16:11:21 PDT 2006
> H. Peter Anvin wrote:
> > (k)libc.so isn't a shared library in the ELF sense. It's an executable.
> ... specifically, as far as ELF (and the kernel) is concerned, it's the
> ELF interpreter; it's linked at a fixed address and the application
> invokes it with usual static jumps.
"Usual static jumps"? There's nothing usual about static jumps on
the PA ;( However, it should be possible to jump to a static address
with the right setup.
The 64-bit linker hasn't really been ported to linux. The interpreter
section is hardcoded to ELF_DYNAMIC_INTERPRETER:
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/pa20_64/dld.sl"
/* Set the contents of the .interp section to the interpreter. */
s = bfd_get_section_by_name (dynobj, ".interp");
BFD_ASSERT (s != NULL);
s->size = sizeof ELF_DYNAMIC_INTERPRETER;
s->contents = (unsigned char *) ELF_DYNAMIC_INTERPRETER;
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the klibc