From 237c90295aad597b095572581e5bfb46a3b239a0 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sun, 24 May 2015 14:44:04 -0300 Subject: [PATCH] Bump library major. * lib/Makefile.am: Bump library major. This is a preparation for a rework that was due for quite some time, but that is now required to properly implement variadic jit functions. The rework is mainly required to know at prolog parsing, if a function is variadic or not. This will benefit a few backends, and is mandatory for the hard float arm abi. The rework was already planned for quite some time, to be able to use a variable stack framesize, and for leaf functions optimization where applicable. The change will be source compatible, but will change some internals, and jit_code_t values, as some new will be added. The only behavior change is that, jit_arg_register_p may change return value on hard float arm abi, if called before or after jit_ellipsis. Common sense anyway, would say to make that call after jit_ellipsis, but documentation should be updated for it. --- ChangeLog | 20 ++++++++++++++++++++ lib/Makefile.am | 1 + 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index ddb7b75e0..17e8c131a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2015-06-24 Paulo Andrade + + * lib/Makefile.am: Bump library major. This is a preparation + for a rework that was due for quite some time, but that is + now required to properly implement variadic jit functions. + The rework is mainly required to know at prolog parsing, if + a function is variadic or not. This will benefit a few + backends, and is mandatory for the hard float arm abi. + The rework was already planned for quite some time, to + be able to use a variable stack framesize, and for leaf + functions optimization where applicable. + The change will be source compatible, but will change + some internals, and jit_code_t values, as some new will + be added. + The only behavior change is that, jit_arg_register_p may + change return value on hard float arm abi, if called before + or after jit_ellipsis. Common sense anyway, would say to + make that call after jit_ellipsis, but documentation + should be updated for it. + 2015-06-24 Paulo Andrade * lib/jit_aarch64-fpu.c, lib/jit_aarch64.c: Correct base diff --git a/lib/Makefile.am b/lib/Makefile.am index a2bcf15ba..009e6de27 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -16,6 +16,7 @@ AM_CFLAGS = -I$(top_srcdir)/include -D_GNU_SOURCE $(LIGHTNING_CFLAGS) liblightning_LTLIBRARIES = liblightning.la +liblightning_la_LDFLAGS = -version-info 1:0:0 if get_jit_size JIT_SIZE_PATH = "$(top_builddir)/jit_$(cpu)-sz.c"