diff --git a/Changelog b/Changelog index 609a375..1ce58b5 100644 --- a/Changelog +++ b/Changelog @@ -1,8 +1,12 @@ -version 1.0.3-wip (tbd) +version 1.0.3-release (2021-09-16) - FIX rdtsc - - ADD rdtscp, ror (ri only for now) + - ADD rdtscp, + - ADD ror (ri encoding only for now) + + - code maintenance + - added library versioning version 1.0.2-release (2021-09-09) diff --git a/Makefile.am b/Makefile.am index 4de4365..4fbacea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS = src test tools # run 'make check' from projects' root to have libassemblyline being compiled on change # check_LTLIBRARIES = libassemblyline.la -EXTRA_DIST = autogen.sh +EXTRA_DIST = ACLOCAL_AMFLAGS = -I m4 --install # this ensures, that the lib is rebuild (if necessary) on make check @@ -17,3 +17,17 @@ CLEANFILES = config.h~ \ distclean-local: rm -rf autom4te.cache/ +# from 7.3 https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning +# -version-info accepts ‘current[:revision[:age]]’ + +# 1. If the library SOURCE CODE has changed at all since the last update: revision++ +# 2. If ANY INTERFACES have been ADDED since the last public release: current++, revision=0, age++. +# 3. If ANY INTERFACES have been REMOVED or CHANGED since the last public release: current++, revision=0, age=0. + +# Hints +# 1. Programs using the previous version may use the new version as drop-in replacement, and programs using the new version can also work with the previous one. In other words, no recompiling nor relinking is needed. In this case, bump revision only, don’t touch current nor age. +# 2. Programs using the previous version may use the new version as drop-in replacement, but programs using the new version may use APIs not present in the previous one. In other words, a program linking against the new version may fail with “unresolved symbols” if linking against the old version at runtime: set revision to 0, bump current and age. +# 3. Programs may need to be changed, recompiled, and relinked in order to use the new version. Bump current, set revision and age to 0. + +# in short, if only patch from configure.ac is bumped, bump the middle number below. If more is changed, read the above +libassemblyline_la_LDFLAGS = -version-info 1:3:0 diff --git a/configure.ac b/configure.ac index 4876538..c48accd 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([assemblyline],[1.0.2],[yval@cs.adelaide.edu.au]) +AC_INIT([assemblyline],[1.0.3],[yval@cs.adelaide.edu.au]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([src/assemblyline.c]) AC_CONFIG_AUX_DIR([build-aux]) diff --git a/src/Makefile.am b/src/Makefile.am index 99c99b6..fa53c33 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,25 +3,25 @@ noinst_LTLIBRARIES = libassemblyline.la libassemblyline_la_SOURCES = \ assembler.c \ assembler.h \ - encoder.c \ - encoder.h \ - parser.c \ - parser.h \ - prefix.c \ - prefix.h \ - tokenizer.c \ - tokenizer.h \ assemblyline.c \ common.h \ + encoder.c \ + encoder.h \ enums.h \ instr_parser.c \ instr_parser.h \ instruction_data.h \ + instructions.c \ instructions.h \ + parser.c \ + parser.h \ + prefix.c \ + prefix.h \ reg_parser.c \ reg_parser.h \ - instructions.c \ - registers.h + registers.h \ + tokenizer.c \ + tokenizer.h include_HEADERS = assemblyline.h