[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help debugging silo



On 12/29/2015 11:52 AM, Richard Mortimer wrote:
> From memory the conversion to a.out is done by the elftoaout binary from
> sparc-utils. It maybe that the problem lies in there rather than in silo
> itself.

Right!

That must be it:

typedef struct {
        unsigned long   a_magic;        /* magic number */
        unsigned long   a_text;         /* size of text segment */
        unsigned long   a_data;         /* size of initialized data */
        unsigned long   a_bss;          /* size of uninitialized data */
        unsigned long   a_syms;         /* size of symbol table ||
checksum */
        unsigned long   a_entry;        /* entry point */
        unsigned long   a_trsize;       /* size of text relocation */
        unsigned long   a_drsize;       /* size of data relocation */
} Exec;

The unsigned long probably becomes 64 bit on sparc64. I'll check whether
Oracle has a patched version.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: