The Executable and Linking Format (ELF)
http://www.cs.ucdavis.edu/%7Ehaungs/paper/node10.html
Issue 12: Kernel Korner: The ELF Object File Format: Introduction
Posted on Saturday, April 01, 1995 by Eric Youngdale
http://www.linuxjournal.com/article.php?sid=1059
Issue 13: Kernel Korner: The ELF Object File Format by Dissection
Posted on Monday, May 01, 1995 by Eric Youngdale
http://www.linuxjournal.com/article.php?sid=1060
pdf 문서
http://www.x86.org/ftp/manuals/tools/elf.pdf
ARMELF.pdf
http://www.cs.helsinki.fi/u/jikorhon/gp32/dl/ARMELF.pdf
Executable and Linkable Format File (.elf) 간단 설명http://www.pldworld.ws/_altera/html/_sw/q2help/source/glossary/def_elf.htm
***
linux arm 에서 elf 처리 소스들...
http://lxr.linux.no/find?v=2.6.5;a=arm;string=elf
Users will generally encounter three types of ELF files--.o files, regular executables, and shared libraries. While all of these files serve different purposes, their internal structure files are quite similar. Thus we can begin with a general description, and proceed to a discussion of the specifics of the three file types. Next month, I will demonstrate the use of the readelf program, which can be used to display and interpret various portions of ELF files.
One universal concept among all different ELF file types (and also a.out and many other executable file formats) is the notion of a section. This concept is important enough to spend some time explaining. Simply put, a section is a collection of information of a similar type. Each section represents a portion of the file. For example, executable code is always placed in a section known as .text; all data variables initialized by the user are placed in a section known as .data; and uninitialized data is placed in a section known as .bss
Executable and Linkable Format File (.elf)
An object file (with the extension .elf) that contains the data from a design's software source files in a translated form. You or the Software Builder can use a software toolset code converter to generate Hexadecimal (Intel-Format) Files (.hex) (for example, flash programming files) from an Executable and Linkable Format File (.elf). The Software Builder also uses a code converter to generate Binary Files (.bin) or Motorola S-Record Files (.srec) from an Executable and Linkable Format File (.elf) .
You can also use an ELF File with a software toolset debugger to debug BIN Files, HEX Files, and SREC Files; the ELF File holds the debug information that a software toolset assembler and C/C++ compiler generate for the debugger during a software build.
When you generate a BIN File or SREC File, the Software Builder uses a software toolset linker to generate an ELF File from object files that the Software Builder generated.
When you generate a HEX File, you or the Software Builder can use a linker to generate an ELF File from object files that you included in the design or that the Software Builder generated. Also, if the HEX File you are generating is a flash programming file, you or the Software Builder can use a linker to generate an additional ELF File from a boot data file and the bootloader library file (libboot_xa_ads.a).
'Linux' 카테고리의 다른 글
ELF 파일의 형식(format) (0) | 2013.09.26 |
---|---|
gcc 사용법 (0) | 2013.09.26 |
ELF(Executable and Linking Format) (0) | 2013.09.26 |
리눅스 커널업데이트 (0) | 2013.09.26 |
부팅 순서 변경 및 시간 변경 (0) | 2013.09.26 |