From 0ebc8ba43a0609dd1d176817cb1e34f8d77f642d Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 2 Jan 2022 10:27:02 -0500 Subject: posts/tiny-binaries-assembly-optimization: improve wording --- ...22-01-01-tiny-binaries-assembly-optimization.md | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md b/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md index be4815c..a54b830 100644 --- a/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md +++ b/content/posts/2022-01-01-tiny-binaries-assembly-optimization.md @@ -254,13 +254,9 @@ code_1: ```   -I tried shrinking Nathan's binary a couple of ways, without any luck. -For example, I tried removing the padding bytes at the end of the file, -but the binary will not execute without them. - -Anyway, with these changes the final binary size is 114 bytes. -[Linux][] will still happily execute the binary, but common tools like -`readelf`, `objdump`, and `file` can't make any sense of it: +These changes shrink the binary to 114 bytes. [Linux][] will still +happily execute the binary, but `readelf`, `objdump`, and `file` can't +make sense of it: ```bash $ make @@ -332,13 +328,12 @@ If you enjoyed this post, you may also like: [Linux][] binaries, including a table of unverified [ELF header][] bytes. * [A Whirlwind Tutorial on Creating Really Teensy ELF Executables for - Linux][tiny-elf-orig]: Classic original article on tiny 32-bit static - binaries. -* [My Own Private Binary][]: Sequel to [A Whirlwind Tutorial on - Creating Really Teensy ELF Executables for Linux][tiny-elf-orig] where - the author creates a 0 byte executable using a kernel module. + Linux][tiny-elf-orig]: Classic article on tiny 32-bit static binaries. +* [My Own Private Binary][]: Sequel to [A Whirlwind + Tutorial][tiny-elf-orig] where the author creates a 0 byte executable + using a kernel module. -**Update (2022-01-02):** Fix typos, dewordify, improve grammar. +**Update (2022-01-02):** Shorten, fix typos, improve grammar. [tb]: {{< ref "/posts/2021-12-31-tiny-binaries.md" >}} "Tiny Binaries" @@ -370,3 +365,5 @@ If you enjoyed this post, you may also like: "My Own Private Binary" [docker]: https://en.wikipedia.org/wiki/Docker_(software) "Docker" +[eof]: https://en.wikipedia.org/wiki/End-of-file + "End of File" -- cgit v1.2.3