Skip to content

Support debug build#359

Merged
probonopd merged 1 commit into
AppImage:appimagetool/masterfrom
orivej:build-debug
Feb 19, 2017
Merged

Support debug build#359
probonopd merged 1 commit into
AppImage:appimagetool/masterfrom
orivej:build-debug

Conversation

@orivej

@orivej orivej commented Feb 19, 2017

Copy link
Copy Markdown
Contributor

The comment in the get_elf_size was true: section header table may come either after (in the stripped binary) or before (in the unstripped) the last section. This pull request makes read_elf64 return the maximum of the two values as the total elf size, and adds a build.sh option to leave binaries unstripped.

@orivej orivej mentioned this pull request Feb 19, 2017
@probonopd

Copy link
Copy Markdown
Member

Thanks @orivej. I only see read_elf64 changes, wouldn't that also be the same TODO for read_elf32?

@orivej

orivej commented Feb 19, 2017

Copy link
Copy Markdown
Contributor Author

I have updated read_elf32 too, and tested that the resulting appimagetool.AppImage, stripped and unstripped, 64bit and 32bit, all work.

@probonopd probonopd merged commit b18328a into AppImage:appimagetool/master Feb 19, 2017
@probonopd

Copy link
Copy Markdown
Member

Thanks @orivej

@orivej orivej deleted the build-debug branch February 19, 2017 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants