Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 1996 12:02:05 -0500
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        sos@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Branded ELF's
Message-ID:  <199610241702.MAA10516@jake.lodgenet.com>

next in thread | raw e-mail | index | archive | help

Howdy Soren,

Are branded (Linux) elfs working, or is there a bit more work to be
done?

I'm trying to get ldconfig to work from various linux distributions, without
much luck.  I just get:

(ttyp1@jake)$ brandelf *
File 'ldconfig' is of brand 'Linux'.
File 'ldconfig-virgin' has no branding.
(ttyp1@jake)$ ./ldconfig
ELF PT_LOAD section .text <08000000,00014000> entry=08000090
ELF PT_LOAD section bss size 6324 (18b4)
.data <08014000,00002000>
ELF binary type not known
Abort trap
(ttyp1@jake)$ ./ldconfig-virgin 
ELF PT_LOAD section .text <08000000,00014000> entry=08000090
ELF PT_LOAD section bss size 6324 (18b4)
.data <08014000,00002000>
ELF binary type not known
Abort trap


After just a quick glance at imgact_elf.c, it looks like there may
be a missing `else if (!strcmp(brand, elf_brand_list[i]->brand)) {
} ' clause.  Or do I have old code?

eric.


-- 
erich@lodgenet.com
http://rrnet.com/~erich erich@rrnet.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610241702.MAA10516>