ELF2AOUT(1) BSD General Commands Manual ELF2AOUT(1)NAME
elf2aout -- convert a NetBSD ELF-format executable to NetBSD a.out format
SYNOPSIS
elf2aout elf-file aout-file
DESCRIPTION
Reads a fully-linked ELF executable (such as a linked kernel) and produces an equivalent a.out format executable file.
The elf2aout utility is used to convert native NetBSD ELF binaries to a.out format, for compatibility with bootblocks and kernel-reading
utilities like kvm(3) and kvm_mkdb(8), which currently expect an a.out format kernel.
SEE ALSO elf2ecoff(1), ld(1), kvm(3), a.out(5), elf(5), kvm_mkdb(8)HISTORY
elf2aout was originally developed for NetBSD/pmax by Ted Lemon and was first distributed with the pmax port of NetBSD 1.1.
BUGS
elf2aout assumes there are no multiply-referenced symbols in the input ELF symbol section. It may be necessary to link with -x to avoid such
duplicate symbols.
In some environments, the GNU binutils objcopy(1) utility may be a better solution than elf2aout.
BSD September 30, 1996 BSD
Check Out this Related Man Page
GELF_CHECKSUM(3) BSD Library Functions Manual GELF_CHECKSUM(3)NAME
elf32_checksum, elf64_checksum, gelf_checksum -- return the checksum of an ELF object
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
long
elf32_checksum(Elf *elf);
long
elf64_checksum(Elf *elf);
#include <gelf.h>
long
gelf_checksum(Elf *elf);
DESCRIPTION
These functions return a simple checksum of the ELF object described by their argument elf. The checksum is computed in way that allows its
value to remain unchanged in presence of modifications to the ELF object by utilities like strip(1).
Function elf32_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS32.
Function elf64_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS64.
Function gelf_checksum() provides a class-independent way retrieving the checksum for ELF object elf.
RETURN VALUES
These functions return the checksum of the ELF object, or zero in case an error was encountered.
ERRORS
These functions may fail with the following errors:
[ELF_E_ARGUMENT] Argument elf was NULL.
[ELF_E_ARGUMENT] Argument elf was not a descriptor for an ELF file.
[ELF_E_ARGUMENT] The ELF descriptor elf was not opened for reading or updating.
[ELF_E_CLASS] For functions elf32_checksum() and elf64_checksum(), ELF descriptor elf did not match the class of the called function.
[ELF_E_HEADER] The ELF object specified by argument elf had a malformed executable header.
[ELF_E_RESOURCE] An out of memory condition was detected during processing.
[ELF_E_SECTION] The ELF object specified by argument elf contained a section with a malformed section header.
[ELF_E_VERSION] The ELF object was of an unsupported version.
SEE ALSO strip(1), elf(3), gelf(3)BSD August 29, 2006 BSD
HI, I just installed NetBSD i386 v. latest. I am having a few problems: For some reason X just won't start!? Another is I can't access My CDROM or Floppy.
Thanks in advance! (3 Replies)
Hi I have NetBSD and i am having a trouble Starting X. It keeps asking me for the config file and I run the text confing file but it messes up. I really want to be able to run the Graphical Setup. I read about the Graphical setup from a book but they didn't tell how to start it. help please!? (9 Replies)
Hello all
Im using sun9 compiler and I like to create executable even if I have undefined symbols
Some one knows what is the flag to do so ? (2 Replies)
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
I want to install NetBSD on the Compaq LTE 5000. ("Of course it runs NetBSD!!") But the laptop does NOT have a CD-ROM drive.
How can I solve??
Thanks for any reply! :)
PS: I hope i'm posting in the right item... (2 Replies)
I have a script file that file type is
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs)
Now I want to get the contents of this file. How can I ?
Any help me to get cotents of this file type? (2 Replies)
I've been trying to install OpenBSD and the install seemed to go well up until I saw the "bootblocks were not installed" error at the end. I looked online for documentation and found this:
14 - Disk Setup
Neither the "boot" command, /usr/mdec/installboot,nor a /boot folder appeared to be on... (2 Replies)
When I do the file I get ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
I am almost 100% sure I was able to print a readable version of this file in the past but I cannot remember how. Is it possible to convert this file into something that can be read and or... (3 Replies)