From: Mark Klein <mklein@dis.com>
To: Joern Rennecke <amylaar@cygnus.co.uk>, law@cygnus.com
Cc: amylaar@cygnus.co.uk, gas2@cygnus.com, egcs@cygnus.com
Subject: Re: Questions regarding submittals
Date: Tue, 08 Sep 1998 14:02:00 -0000 [thread overview]
Message-ID: <3.0.3.32.19980908135723.009a9bb0@garfield.dis.com> (raw)
In-Reply-To: <199809082004.VAA11057@phal.cygnus.co.uk>
At 09:04 PM 9/8/98 +0100, Joern Rennecke wrote:
>> I believe Mark needs to pass more information than is available in a
>> .file directive.
>
>Does he? That's not how I have read his message.
>Mark, what information do you need to pass?
While it is true that all I require is the filename, MPE needs a complete
compilation unit entry in the SOM.
The compilation unit is:
struct compilation_unit {
union name_pt name;
union name_pt language_name;
union name_pt product_id;
union name_pt version_id;
union name_pt copyright;
struct sys_clock compile_time;
struct sys_clock source_time;
};
Since I must create the entire entry, it is best to make it mean something
legitimate, so I chose to include the compiler information and version in
the meta command as in:
; gcc_compiled.:
.compiler "hello.c GNU_C_Compiler egcs-2.91.52 19980727 (gcc2 ss-980609
experimental)"
This yields:
/OFFICIAL/PUB/ODUMP -compunit ./a.out
Compilation Unit Dictionary from ./a.out[0]:
Index Chunk Language Name
Product_id ; Version_id
Compile time ; Source time
0 0 GNU_C_Compiler hello.c
GNU Tools; egcs-2.91.52 19980727 (gcc2 ss-980609 experimental)
Compile Time: None
Source Time: None
1 0 GNU_C_Compiler ./libgcc2.c
GNU Tools; egcs-2.91.52 19980727 (gcc2 ss-980609 experimental)
Compile Time: None
Source Time: None
2 0 GNU_C_Compiler ./libgcc2.c
GNU Tools; egcs-2.91.52 19980727 (gcc2 ss-980609 experimental)
Compile Time: None
Source Time: None
3 0 GNU_PA-RISC_Assembler lib2funcs.asm
GNU Tools; 2.8.1
Compile Time: None
Source Time: None
4 0 GNU_PA-RISC_Assembler mpebreak.asm
GNU Tools; 2.8.1
Compile Time: None
Source Time: None
5 0 HP C/XL CSGLIB
ccxl options = +O2 -Aa
HP31506; HP C/iX Compiler Version A.04.50
Compile Time: Mon Jul 8 12:05:47 1996 000000000
Source Time: None
6 0 HP-C exit
cc options = +O2 -Aa
HP92453-01; A.08.81
Compile Time: Tue Jun 21 13:51:10 1994 000000000
Source Time: Tue Jan 25 10:55:21 1994 000000000
[snip]
52 0 HPUX Precision Architecture Assembler
MILLI/12.34/MremU.o
92453; A.08.00(sllic UX.08.00.00 10/25/89)
Compile Time: None
Source Time: None
/tmp(149):
I'm not sure what would happen to MPE's tools if they found an incomplete
compilation
unit, but it is better to be complete, IMHO.
--
Mark Klein DIS International,
Ltd.
http://www.dis.com 415-892-8400
PGP Public Key Available
prev parent reply other threads:[~1998-09-08 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-05 12:21 Mark Klein
1998-09-07 13:54 ` Joern Rennecke
1998-09-08 2:22 ` Jeffrey A Law
1998-09-08 13:05 ` Joern Rennecke
1998-09-08 14:02 ` Mark Klein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3.0.3.32.19980908135723.009a9bb0@garfield.dis.com \
--to=mklein@dis.com \
--cc=amylaar@cygnus.co.uk \
--cc=egcs@cygnus.com \
--cc=gas2@cygnus.com \
--cc=law@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).