Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Thread

Removing sections from an ELF file

Removing sections from an ELF file

2002-05-10 by Scott Newell

Has anyone seen a tool that will remove or strip a section from an ELF
file?  I use a couple of data sections to represent battery backed ram, and
I deal with initializing those sections in my own code.  I haven't been
able to convince the linker to omit the sections, and I can't tell the
downloader to ignore 'em...so, I'd like to remove them.  Any ideas?


thanks,
newell

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.