这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Grimler91
Copy link
Member

@Grimler91 Grimler91 commented Jul 12, 2022

  • Make it possibly to choose target api level with --api-level arg
  • Check for underaligned TLS segments in program header
  • (partially) re-brand to just elf-cleaner
  • Add configure script, instead of just a Makefile
  • Add some tests to check so that the tool do, and continue to do, what we want it to do

And some additional updates

oleavr and others added 22 commits July 12, 2022 12:14
Instead of just a Makefile. Also set version to 1.10.0 (instead of
1.10) to follow semantic versioning.
It is used by other projects, so lets rename it to something that
sounds less termux specific.  Keep repo name, and projet name in
configure.ac, as termux-elf-cleaner though.

To change name of produced binary to termux-elf-cleaner we can use
--program-prefix=termux- when configuring.
As recommended by the GPL.
Similar to what emacs uses.  Will make it easier to add more options
in future updates.
Print info about termux-elf-cleaner and copyright information if
given.
In all printed messages, use PACKAGE_NAME instead.
If given, none of the info messages about removed entries will be
printed (error messages are printed in both cases though).
We can then choose target api level during runtime and not just at
compile time. --api-level NN can be used to choose for example api
level 21, 24 or 30.  If argument is omitted, then 21 is used.
To allow for checking if there are any unsupported entries in a
program, but without modifying the program.
Lets simply run termux-elf-cleaner on some programs/libraries and
check so that output is what we expect.  This will allow us to check
so that updates do not break anything.
Add both un-cleaned ones, and cleaned ones for api level 24, for all
arches.
Valgrind needs the tls alignment fix, so add original as well as fixed
one that can be used for tests.
And remove author section, copyright info is kept individual file
headers.
Using similar action as for termux-{app,api, ..}.
@Grimler91 Grimler91 merged commit 1c46a61 into master Jul 15, 2022
@Grimler91 Grimler91 deleted the updates branch July 15, 2022 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants