- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Creating a shareable image on I64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2007 01:12 PM
тАО11-28-2007 01:12 PM
Re: Creating a shareable image on I64
VERY interesting idea! I'll have a look at it.
@John:
Thanks a bunch for the confirmation. I guess the STT_SECTION/STB_LOCAL confused me, when I was looking for STT_OBJECT/STB_GLOBAL sections instead.
So for those global data symbols, the "global" attribute really is hidden in the section flags, which are only visible in the section summary.
Am appending an example object analysis file for reference.
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 01:36 AM
тАО11-29-2007 01:36 AM
Re: Creating a shareable image on I64
http://mvb.saic.com/freeware/freewarev80/libxml2-2_6_24/
Buried in there, you'll find a DCL procedure that has all the problems mentioned earlier. Caveats are listed within the comments.
This hack might serve as a variant starting point for your needs. IIRC, what I was doing in this hack was looking at patterns in the source code.
Though what you've already got may work as well for your needs.
Having worked in this area on many occasions, access to the compiler ANA record structures and the related analysis file routines in use underneath DECset can be quite useful. I would hope these could be made semi-public by HP, akin to how the debugger record structure definitions were released. eg: http://mvb.saic.com/freeware/freewarev50/debug/
BTW, there are some decent C parsers around now, so there is another and quite different approach available; I'd probably start with the LLVM front-ends here and not with GCC.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 02:10 AM
тАО11-29-2007 02:10 AM
Re: Creating a shareable image on I64
I think I found it - it's the one that says "Do not use this command procedure! Ever!" and goes on to name it "a monstrous and exceedingly ugly hack", right? :-)
Despite the comments, IMHO it's a lovely idea to use LIBRARY/CROSS to locate all relocatable symbols in an object library, the data symbols being the ones with a value of 0...
Thanks for the hint!
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 05:36 AM
тАО12-11-2007 05:36 AM
Re: Creating a shareable image on I64
I have put aside all the hacks, and instead extended elf.c from the GNV source distribution (suggested by Michael Moroney in http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1182334 - thanks, Michael!) to give me all the DATA (i.e. global sections) and PROCEDURE global names that I need.
For reference I have appended a GNU diff file that contains the changes I made.
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 05:38 AM
тАО12-11-2007 05:38 AM
Re: Creating a shareable image on I64
See above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 01:07 PM
тАО12-11-2007 01:07 PM
Re: Creating a shareable image on I64
mw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 07:23 PM
тАО12-11-2007 07:23 PM
Re: Creating a shareable image on I64
As this causes so much hassle, I'm thinking of changing the rules for I64...
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 05:18 AM
тАО12-13-2007 05:18 AM
Re: Creating a shareable image on I64
Thanks everybody! You learn something new every day.
cu,
Martin
- « Previous
-
- 1
- 2
- Next »