Skip to content

Commit

Permalink
Add stripex tool, and bump version to 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Sep 11, 2023
1 parent 3c98a35 commit 62db3cb
Show file tree
Hide file tree
Showing 7 changed files with 718 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
./.scripts/install-freemint.sh mintlib
- name: Setup environment
env:
PROJECT_VERSION: "0.3"
PROJECT_VERSION: "0.4"
run: ./.scripts/setup_env.sh
- name: build
run: ./.scripts/build.sh
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ src/flags
src/mintbin
src/stack
src/symex
src/stripex
stamp-*
.deps
*.o
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for mintbin 0.3.
# Generated by GNU Autoconf 2.71 for mintbin 0.4.
#
# Report bugs to <https://github.com/freemint/mintbin/issues/>.
#
Expand Down Expand Up @@ -611,8 +611,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='mintbin'
PACKAGE_TARNAME='mintbin'
PACKAGE_VERSION='0.3'
PACKAGE_STRING='mintbin 0.3'
PACKAGE_VERSION='0.4'
PACKAGE_STRING='mintbin 0.4'
PACKAGE_BUGREPORT='https://github.com/freemint/mintbin/issues/'
PACKAGE_URL='https://github.com/freemint/mintbin/'

Expand Down Expand Up @@ -1344,7 +1344,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures mintbin 0.3 to adapt to many kinds of systems.
\`configure' configures mintbin 0.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1415,7 +1415,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of mintbin 0.3:";;
short | recursive ) echo "Configuration of mintbin 0.4:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1517,7 +1517,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
mintbin configure 0.3
mintbin configure 0.4
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1835,7 +1835,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by mintbin $as_me 0.3, which was
It was created by mintbin $as_me 0.4, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3190,7 +3190,7 @@ fi

# Define the identity of the package.
PACKAGE='mintbin'
VERSION='0.3'
VERSION='0.4'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -7950,7 +7950,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by mintbin $as_me 0.3, which was
This file was extended by mintbin $as_me 0.4, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -8023,7 +8023,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
mintbin config.status 0.3
mintbin config.status 0.4
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(mintbin, 0.3, [https://github.com/freemint/mintbin/issues/],,[https://github.com/freemint/mintbin/])
AC_INIT(mintbin, 0.4, [https://github.com/freemint/mintbin/issues/],,[https://github.com/freemint/mintbin/])
AC_CONFIG_SRCDIR(src/mintbin.c)
AC_CANONICAL_HOST
AM_CONFIG_HEADER(config.h)
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LIBS = $(INTLLIBS) @LIBS@

noinst_HEADERS = exec.h symbols.h targets.h ar.h

bin_PROGRAMS = arconv cnm csize cstrip flags mintbin stack symex
bin_PROGRAMS = arconv cnm csize cstrip flags mintbin stack symex stripex

arconv_SOURCES = arconv.c targets.c version.c
cnm_SOURCES = cnm.c symbols.c targets.c version.c
Expand All @@ -27,6 +27,7 @@ flags_SOURCES = flags.c targets.c version.c
mintbin_SOURCES = mintbin.c targets.c version.c
stack_SOURCES = stack.c symbols.c targets.c version.c
symex_SOURCES = symex.c targets.c version.c
stripex_SOURCES = stripex.c

install-exec-local:
@$(NORMAL_INSTALL)
Expand Down
25 changes: 19 additions & 6 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = arconv$(EXEEXT) cnm$(EXEEXT) csize$(EXEEXT) \
cstrip$(EXEEXT) flags$(EXEEXT) mintbin$(EXEEXT) stack$(EXEEXT) \
symex$(EXEEXT)
symex$(EXEEXT) stripex$(EXEEXT)
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
Expand Down Expand Up @@ -142,6 +142,10 @@ am_stack_OBJECTS = stack.$(OBJEXT) symbols.$(OBJEXT) targets.$(OBJEXT) \
stack_OBJECTS = $(am_stack_OBJECTS)
stack_LDADD = $(LDADD)
stack_DEPENDENCIES = ../lib/libmb.a
am_stripex_OBJECTS = stripex.$(OBJEXT)
stripex_OBJECTS = $(am_stripex_OBJECTS)
stripex_LDADD = $(LDADD)
stripex_DEPENDENCIES = ../lib/libmb.a
am_symex_OBJECTS = symex.$(OBJEXT) targets.$(OBJEXT) version.$(OBJEXT)
symex_OBJECTS = $(am_symex_OBJECTS)
symex_LDADD = $(LDADD)
Expand All @@ -164,9 +168,10 @@ am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/arconv.Po ./$(DEPDIR)/cnm.Po \
./$(DEPDIR)/csize.Po ./$(DEPDIR)/cstrip.Po \
./$(DEPDIR)/flags.Po ./$(DEPDIR)/mintbin.Po \
./$(DEPDIR)/stack.Po ./$(DEPDIR)/symbols.Po \
./$(DEPDIR)/symex.Po ./$(DEPDIR)/targets.Po \
./$(DEPDIR)/tempname.Po ./$(DEPDIR)/version.Po
./$(DEPDIR)/stack.Po ./$(DEPDIR)/stripex.Po \
./$(DEPDIR)/symbols.Po ./$(DEPDIR)/symex.Po \
./$(DEPDIR)/targets.Po ./$(DEPDIR)/tempname.Po \
./$(DEPDIR)/version.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Expand All @@ -182,10 +187,10 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(arconv_SOURCES) $(cnm_SOURCES) $(csize_SOURCES) \
$(cstrip_SOURCES) $(flags_SOURCES) $(mintbin_SOURCES) \
$(stack_SOURCES) $(symex_SOURCES)
$(stack_SOURCES) $(stripex_SOURCES) $(symex_SOURCES)
DIST_SOURCES = $(arconv_SOURCES) $(cnm_SOURCES) $(csize_SOURCES) \
$(cstrip_SOURCES) $(flags_SOURCES) $(mintbin_SOURCES) \
$(stack_SOURCES) $(symex_SOURCES)
$(stack_SOURCES) $(stripex_SOURCES) $(symex_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
Expand Down Expand Up @@ -350,6 +355,7 @@ flags_SOURCES = flags.c targets.c version.c
mintbin_SOURCES = mintbin.c targets.c version.c
stack_SOURCES = stack.c symbols.c targets.c version.c
symex_SOURCES = symex.c targets.c version.c
stripex_SOURCES = stripex.c
all: all-am

.SUFFIXES:
Expand Down Expand Up @@ -470,6 +476,10 @@ stack$(EXEEXT): $(stack_OBJECTS) $(stack_DEPENDENCIES) $(EXTRA_stack_DEPENDENCIE
@rm -f stack$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(stack_OBJECTS) $(stack_LDADD) $(LIBS)

stripex$(EXEEXT): $(stripex_OBJECTS) $(stripex_DEPENDENCIES) $(EXTRA_stripex_DEPENDENCIES)
@rm -f stripex$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(stripex_OBJECTS) $(stripex_LDADD) $(LIBS)

symex$(EXEEXT): $(symex_OBJECTS) $(symex_DEPENDENCIES) $(EXTRA_symex_DEPENDENCIES)
@rm -f symex$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(symex_OBJECTS) $(symex_LDADD) $(LIBS)
Expand All @@ -487,6 +497,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flags.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mintbin.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stack.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripex.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symbols.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symex.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/targets.Po@am__quote@ # am--include-marker
Expand Down Expand Up @@ -646,6 +657,7 @@ distclean: distclean-am
-rm -f ./$(DEPDIR)/flags.Po
-rm -f ./$(DEPDIR)/mintbin.Po
-rm -f ./$(DEPDIR)/stack.Po
-rm -f ./$(DEPDIR)/stripex.Po
-rm -f ./$(DEPDIR)/symbols.Po
-rm -f ./$(DEPDIR)/symex.Po
-rm -f ./$(DEPDIR)/targets.Po
Expand Down Expand Up @@ -703,6 +715,7 @@ maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/flags.Po
-rm -f ./$(DEPDIR)/mintbin.Po
-rm -f ./$(DEPDIR)/stack.Po
-rm -f ./$(DEPDIR)/stripex.Po
-rm -f ./$(DEPDIR)/symbols.Po
-rm -f ./$(DEPDIR)/symex.Po
-rm -f ./$(DEPDIR)/targets.Po
Expand Down
Loading

0 comments on commit 62db3cb

Please sign in to comment.