search for: 6c70446

Displaying 4 results from an estimated 4 matches for "6c70446".

Did you mean: 6c70444
2017 Aug 23
1
[PATCH supermin] bin2s: make sure the data is aligned
...of the same amount at the end). To overcome that, make sure the rodata section with the embedded init is always aligned to 8 bytes, which should work fine for both 32bit and 64bit architectures. --- src/bin2s.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin2s.pl b/src/bin2s.pl index 6c70446..67ff1f2 100755 --- a/src/bin2s.pl +++ b/src/bin2s.pl @@ -44,6 +44,7 @@ print $ofh <<"EOF"; \t.globl\t_binary_${infile_basename}_end \t.section\t.rodata +\t.align 8 _binary_${infile_basename}_start: EOF -- 2.13.5
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...$< | grep -isq static || \ (echo "*** error: init is not statically linked"; exit 1) - $(srcdir)/bin2s.pl $< $@ + $(srcdir)/bin2c.pl $< $@ depend: .depend diff --git a/src/bin2s.pl b/src/bin2c.pl similarity index 69% rename from src/bin2s.pl rename to src/bin2c.pl index 6c70446..b3f94ec 100755 --- a/src/bin2s.pl +++ b/src/bin2c.pl @@ -15,10 +15,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# This script creates a source file for the GNU assembler which shuold -# result in an object file...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi, this patch replaces the first simpler version: https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html The approach now is to use a C snippet, which should pose way less compatibility issues. Thanks, Pino Toscano (1): Switch binary embedding to a C source .gitignore | 2 +- src/Makefile.am | 18 +++++++++--------- src/{bin2s.pl => bin2c.pl} |
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2: - If we split out the init program into a separate init/ directory, that makes it much easier to build against an alternate libc. I tried to build against uClibc, but uClibc requires an entire build chain, which looked like it was going to be a massive ballache. Rich.