# Differences Between ELF-32 and ELF-64

DevFeed: [Differences Between ELF-32 and ELF-64](<https://devfeed.tech/articles/differences-between-elf-32-and-elf-64-47236.md>)

Original publisher: [Read original article](<https://interrupt.memfault.com/blog/elf-format-differences>)

Author: Eric Johnson

Published: 2024-03-13T00:00:00Z

Content type: article

Language: en

Sources: [Interrupt](<https://devfeed.tech/sources/interrupt.md>)

Topics: [Embedded Software Dev](<https://devfeed.tech/topics/embedded-software-dev.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Microcontroller](<https://devfeed.tech/topics/microcontroller.md>), [format](<https://devfeed.tech/topics/format.md>)

Tags: [elf](<https://devfeed.tech/tags/elf.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [linking](<https://devfeed.tech/tags/linking.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mcu](<https://devfeed.tech/tags/mcu.md>), [portable-executable](<https://devfeed.tech/tags/portable-executable.md>), [unix](<https://devfeed.tech/tags/unix.md>)

## AI overview

A technical reference comparing ELF-32 and ELF-64, focusing on differences in data representation, native sizes, alignments, padding, and field ordering. It is intended to help developers support tools across 32-bit and 64-bit targets, including embedded systems.

## Source excerpt

The ELF object file format is one of the most commonly used today. Most build systems provide an output to this format, and ELF is commonly used to output coredumps. The format varies in subtle ways for 32-bit and 64-bit targets though, which can present problems for tools supporting both. This post will highlight the main differences and is intended as a quick reference for these differences. Continue reading...