diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 40154a6f..cf7edc3d 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -1665,7 +1665,7 @@ PackNetBSDElf32x86::generateElfHdr( cp += k; j += k; } - + // Add PT_NOTE for the NetBSD note and PaX note, if any. note_offset += (np_NetBSD ? sizeof(Elf32_Phdr) : 0); note_offset += (np_PaX ? sizeof(Elf32_Phdr) : 0); diff --git a/src/stub/src/i386-linux.elf-main.c b/src/stub/src/i386-linux.elf-main.c index a3dc851c..39a03989 100644 --- a/src/stub/src/i386-linux.elf-main.c +++ b/src/stub/src/i386-linux.elf-main.c @@ -88,7 +88,7 @@ ssize_t write(int, void const *, size_t); register char const *rv; PIC_STRING(strcon, rv); \ return rv; \ } - + #ifdef __arm__ /*{*/ extern unsigned div10(unsigned); @@ -526,7 +526,7 @@ xfind_pages(unsigned mflags, Elf32_Phdr const *phdr, int phnum, return (unsigned long)addr - lo; } -DEBUG_STRCON(STR_do_xmap, +DEBUG_STRCON(STR_do_xmap, "do_xmap fdi=%%x ehdr=%%p xi=%%p(%%x %%p) av=%%p p_reloc=%%p f_unf=%%p\\n") static Elf32_Addr // entry address