Skip to content

Commit

Permalink
Merge pull request #7 from daviduwu9/main
Browse files Browse the repository at this point in the history
release 1.0.3
  • Loading branch information
dderjoel authored Sep 16, 2021
2 parents fad87cb + 8f3a508 commit db60743
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 14 deletions.
8 changes: 6 additions & 2 deletions Changelog
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
16 changes: 15 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([assemblyline],[1.0.2],[[email protected]])
AC_INIT([assemblyline],[1.0.3],[[email protected]])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/assemblyline.c])
AC_CONFIG_AUX_DIR([build-aux])
Expand Down
20 changes: 10 additions & 10 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit db60743

Please sign in to comment.