Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!palo-alto!vixie From: vixie@palo-alto.DEC.COM (Paul Vixie) Newsgroups: comp.unix.wizards Subject: Re: dumping core on *(NULL) is not a function of your processor Message-ID: <3642@palo-alto.DEC.COM> Date: 2 Aug 88 00:51:08 GMT References: <3618@palo-alto.DEC.COM> <62285@sun.uucp> Organization: DEC Western Research Lab Lines: 26 In article <62285@sun.uucp> guy@gorodish.Sun.COM (Guy Harris) writes: # John Bruner, when he added "-Z" to "ld", added a new magic number for it, I # think; it's like ZMAGIC only it leaves page 0 out of the address space. I # don't see any horrible problem with adding a new magic number. It's a hack, though. What's needed is a single magic number that says "I'm a binary executable for architecture Fegan-Elmer Blueblood 20000", and then something much smarter and more elegant than COFF that says "my segments are XXXXXX, the first segment has this kind of memory map (with this region demand- paged (if possible), this region pre-loaded during exec, this region shared and read-only, this region shared and read-write (!), this one on the roof, this one in the garden, etc, etc". A generic solution instead of a multiplication of magic numbers. COFF won't do as-is, but it's a step in the right direction. The hack will be easier, and can be put in in probably about two hours. But I don't want a hack that runs on my own system, I want something that Sun and DEC and CSRG and Pyramid and MIPS and AT&T will all say "yeah, that's a good solution" and _all_ use it. I don't want another BSD-only hack or another AT&T-only hack. -- Paul Vixie Digital Equipment Corporation Work: vixie@dec.com Play: paul@vixie.UUCP Western Research Laboratory uunet!decwrl!vixie uunet!vixie!paul Palo Alto, California, USA +1 415 853 6600 +1 415 864 7013