* Re: [parisc-linux] kernel updates.
@ 1999-04-19 21:04 Cary Coutant
1999-04-19 21:09 ` Ulrich Drepper
1999-04-19 21:41 ` Alex deVries
0 siblings, 2 replies; 11+ messages in thread
From: Cary Coutant @ 1999-04-19 21:04 UTC (permalink / raw)
To: Alex deVries, Ulrich Drepper; +Cc: parisc-linux
>> > 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-19 21:04 [parisc-linux] kernel updates Cary Coutant
@ 1999-04-19 21:09 ` Ulrich Drepper
1999-04-19 21:41 ` Alex deVries
1 sibling, 0 replies; 11+ messages in thread
From: Ulrich Drepper @ 1999-04-19 21:09 UTC (permalink / raw)
To: Cary Coutant; +Cc: Alex deVries, parisc-linux
Cary Coutant <cary@cup.hp.com> writes:
> 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.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-19 21:04 [parisc-linux] kernel updates Cary Coutant
1999-04-19 21:09 ` Ulrich Drepper
@ 1999-04-19 21:41 ` Alex deVries
1999-04-19 22:05 ` Ulrich Drepper
1 sibling, 1 reply; 11+ messages in thread
From: Alex deVries @ 1999-04-19 21:41 UTC (permalink / raw)
To: Cary Coutant; +Cc: Ulrich Drepper, parisc-linux
On Mon, 19 Apr 1999, Cary Coutant wrote:
>
> 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.
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
@ 1999-04-19 21:17 Cary Coutant
1999-04-19 22:01 ` Ulrich Drepper
0 siblings, 1 reply; 11+ messages in thread
From: Cary Coutant @ 1999-04-19 21:17 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Alex deVries, parisc-linux
>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.
I don't believe there are any cases where the same name conflicts with
two different numbers. We have cases where two names are used to refer to
what is essentially the same relocation type, but that shouldn't be a
conflict.
-cary
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-19 21:17 Cary Coutant
@ 1999-04-19 22:01 ` Ulrich Drepper
0 siblings, 0 replies; 11+ messages in thread
From: Ulrich Drepper @ 1999-04-19 22:01 UTC (permalink / raw)
To: Cary Coutant; +Cc: Alex deVries, parisc-linux
Cary Coutant <cary@cup.hp.com> writes:
> We have cases where two names are used to refer to what is
> essentially the same relocation type, but that shouldn't be a
> conflict.
This is no problem, right.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* [parisc-linux] kernel updates.
@ 1999-04-18 6:10 Alex deVries
1999-04-18 6:35 ` Ulrich Drepper
0 siblings, 1 reply; 11+ messages in thread
From: Alex deVries @ 1999-04-18 6:10 UTC (permalink / raw)
To: parisc-linux
So, I spent some time this rainy Saturday on the kernel, and brought the
kernel a little closer to building. There's now about 8 to 12 undefined
symbols still to fix, but make dep and make vmlinux now do two different
things.
There's a lot of stuff still to do in this, please, take the kernel tree
and try compiling it. More importantly, help me fix it.
And ld. We need ld help.
- Alex
--
Alex deVries <puffin@redhat.com>
Red Hat Contrib Net maintainer
Ottawa, Canada
PA RISC Linux Porting Team
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-18 6:10 Alex deVries
@ 1999-04-18 6:35 ` Ulrich Drepper
1999-04-18 6:45 ` Alex deVries
0 siblings, 1 reply; 11+ messages in thread
From: Ulrich Drepper @ 1999-04-18 6:35 UTC (permalink / raw)
To: Alex deVries; +Cc: parisc-linux
Alex deVries <adevries@redhat.com> writes:
> And ld. We need ld help.
Well, this might be the right time to ask:
I need the ELF specs which should be used.
This is for ld and glibc.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-18 6:35 ` Ulrich Drepper
@ 1999-04-18 6:45 ` Alex deVries
1999-04-18 7:28 ` Ulrich Drepper
0 siblings, 1 reply; 11+ messages in thread
From: Alex deVries @ 1999-04-18 6:45 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: parisc-linux
On 17 Apr 1999, Ulrich Drepper wrote:
> Alex deVries <adevries@redhat.com> writes:
> > And ld. We need ld help.
>
> Well, this might be the right time to ask:
> I need the ELF specs which should be used.
> This is for ld and glibc.
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
Which parts of the ELF spec are not contained in the existing HP document?
- Alex
--
Alex deVries <puffin@redhat.com>
Red Hat Contrib Net maintainer
Ottawa, Canada
PA RISC Linux Porting Team
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-18 6:45 ` Alex deVries
@ 1999-04-18 7:28 ` Ulrich Drepper
1999-04-18 7:42 ` Alex deVries
0 siblings, 1 reply; 11+ messages in thread
From: Ulrich Drepper @ 1999-04-18 7:28 UTC (permalink / raw)
To: Alex deVries; +Cc: parisc-linux
Alex deVries <adevries@redhat.com> writes:
> 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 only comparison is elf.h header in HP/UX 11. And this header
introduces completely different definitions for the same names.
Something which of course should be avoided under all circumstances.
I thin the first question to be answered is: which relocations must be
supported. The answer has two parts: the minimal set and the complete
set.
I don't know the HPPA specifics, I only know ELF in general.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] kernel updates.
1999-04-18 7:28 ` Ulrich Drepper
@ 1999-04-18 7:42 ` Alex deVries
0 siblings, 0 replies; 11+ messages in thread
From: Alex deVries @ 1999-04-18 7:42 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: parisc-linux
On 18 Apr 1999, Ulrich Drepper wrote:
> Alex deVries <adevries@redhat.com> writes:
> > 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 documents in question are available at:
http://www.software.hp.com/STK/toc.html#Object
There's some other .h files that might be helpful as well.
- Alex
--
Alex deVries <puffin@redhat.com>
Red Hat Contrib Net maintainer
Ottawa, Canada
PA RISC Linux Porting Team
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1999-04-19 22:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-19 21:04 [parisc-linux] kernel updates Cary Coutant
1999-04-19 21:09 ` Ulrich Drepper
1999-04-19 21:41 ` Alex deVries
1999-04-19 22:05 ` Ulrich Drepper
-- strict thread matches above, loose matches on Subject: below --
1999-04-19 21:17 Cary Coutant
1999-04-19 22:01 ` Ulrich Drepper
1999-04-18 6:10 Alex deVries
1999-04-18 6:35 ` Ulrich Drepper
1999-04-18 6:45 ` Alex deVries
1999-04-18 7:28 ` Ulrich Drepper
1999-04-18 7:42 ` Alex deVries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox