🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #985

Symbolic info in .EXE files

#985
From: Peter Barker
Date: Fri, 31 May 1991 05:47
26 lines
2090 bytes
Does anyone know a source of information about the method used by linkers
to store symbol information in .EXE files. I have done some snooping,
but I cannot find the secret. Codeview and Turbo debugger use different
formats, but I cannot find the details.

The reason I want to know is that I am writing an overlay manager,
using DOS function 4B03h (load overlay). I want to append some information
to the overlay file so the program can read it, but have it ignored by the
DOS load overlay function (4B03h). I originally assumed that the
DOS loader obtained all its information about the contents of the file 
being loaded from the header at the start of the .EXE file. In this case
I could append information to the end of the file, and the loader
would ignore it, as it does with symbol information provided by the linker
for CodeView. Unfortunately this is not the case - the file does not load
correctly. Does anyone have any information about how symbolic information
is stored in the .EXE by linkers?

Please help if you have any idea, or suggestion of where some help may be
found, as I am getting desperate.

Thankyou,
-- 
Peter Barker               |   Internet   peter@atlas.abccomp.oz.au
TurboSoft Pty Ltd          |   JANET      peter%atlas.abccomp.oz.au@uk.ac.ukc
248 Johnston St, Annandale |   UUCP       uunet!munnari!atlas.abccomp.oz!peter
NSW 2038    Australia      |  Telephone   +(612) 552 1266
Technical Details
Message-ID: <1991May31.054718.15255@atlas.abccomp.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!munnari.oz.au!metro!usage.csd.unsw.oz.au!abccomp!atlas.abccomp.oz.au!peter

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!munnari.oz.au!metro!usage.csd.unsw.oz.au!abccomp!atlas.abccomp.oz.au!peter
From: peter@atlas.abccomp.oz.au (Peter Barker)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.os.msdos.misc,comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer,comp.sys.ibm.pc
Subject: Symbolic info in .EXE files
Message-ID: <1991May31.054718.15255@atlas.abccomp.oz.au>
Date: 31 May 91 05:47:18 GMT
Article-I.D.: atlas.1991May31.054718.15255
Sender: peter@atlas.abccomp.oz.au (Peter Barker)
Followup-To: comp.os.msdos.programmer
Organization: TurboSoft P/L, Sydney
Lines: 26