Skip to contentSkip to conversation

kernel updates.

parisc-linux Cary Coutant 3 participants 4 messages Apr 19, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

And the answer to this is:
- the only docs we have for 32 bit ELF from HP are quite old
- if they're incomplete, it's up to us fill in the information
- this is a good forum to ask directed questions on this topic

The question is: "is the documentation incomplete or wrong?".

My understanding is that that documentations' always been incomplete, but not wrong. Really the best person to talk to is Cary. Cary?

The latest ELF supplement for PA-RISC is Version 1.5, dated August 20, 1998. I'll send it separately to you, Alex, and you can post it on your web page (easier than getting HP's external web server updated).

This document covers both 32-bit and 64-bit programs, but notes that ELF files are supported on HP-UX only for 64-bit programs. Nevertheless, a complete set of 32-bit relocations is listed in the document (and, yes, some 32-bit relocations have the same number and meaning, but different names, as 64-bit relocations).

The document also doesn't contain either Elf-32 or Elf-64 structure definitions. I have a separate document that describes Elf-64, but we defer to outside documentation for the Elf-32 format (e.g., the SVR4 gABI document).

If there are areas considered incomplete, please let me know. I'll do my best to answer questions here (first), and update the documents (as I have time).

-cary

#1 lore raw
Quoted 5 lines · Cary Coutant

This document covers both 32-bit and 64-bit programs, but notes that ELF files are supported on HP-UX only for 64-bit programs. Nevertheless, a complete set of 32-bit relocations is listed in the document (and, yes, some 32-bit relocations have the same number and meaning, but different names, as 64-bit relocations).

But this is a problem. We might have to change the names then. One of the essential things about ELF is that it must be possible to have support for all kind of architectures in one program. So all the definitions have to be able to peacefully coexist in one header file.

Signature · 3 lines
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------
#2 lore raw
In reply to Cary Coutant
Quoted 4 lines · Cary Coutant

The latest ELF supplement for PA-RISC is Version 1.5, dated August 20, 1998. I'll send it separately to you, Alex, and you can post it on your web page (easier than getting HP's external web server updated).

Oh, excellent, I hadn't known that those existed.

I've placed those at:
http://puffin.external.hp.com/docs/elf-64-gen.pdf

and:
http://puffin.external.hp.com/docs/elf-pa-hp.pdf

I'll include these references on the documentation pages as soon as possible.

Quoted 4 lines

The document also doesn't contain either Elf-32 or Elf-64 structure definitions. I have a separate document that describes Elf-64, but we defer to outside documentation for the Elf-32 format (e.g., the SVR4 gABI document).

Could someone provide me with a reference to the SVR4 gABI document?

Thanks for your help, Cary.

- Alex

#3 lore raw
Quoted 1 line · Alex deVries

Could someone provide me with a reference to the SVR4 gABI document?

The most recent (though in draft form) is at

http://www.sco.com/developer/gabi/contents.html

Signature · 3 lines
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------