Commit Graph

25 Commits

Author SHA1 Message Date
PoroCYon daf76fec8e resolve IFUNCs correctly 2020-08-22 03:41:25 +02:00
PoroCYon 51db8f8714 reorganize everything in a single invocation (take 2) 2020-07-11 22:30:33 +00:00
PoroCYon 5a42351a0e fix makefile for gcc 10 2020-07-11 22:28:20 +00:00
PoroCYon 5c38b05c85 update CFLAGS etc a bit 2020-07-11 22:28:20 +00:00
PoroCYon 48fa48e797 fix 32-bit not working 2019-08-12 22:58:11 +00:00
PoroCYon 788135c670 add fix for gcc 9.1 in the makefile, don't accept LTO input files 2019-08-12 19:18:44 +00:00
PoroCYon 3eea42e29c 32-bit version working (not yet the dnload version) 2019-04-29 23:46:13 +00:00
PoroCYon 8a4b7ce4ec src->rt; smol*.py -> src; add optional 16-bit hash version 2019-04-29 23:46:13 +00:00
PoroCYon c75be623eb 32-bit version using dnload loader now working 2019-04-29 23:46:13 +00:00
PoroCYon d9dbaae27a fixes. dnload mode should now be usableish 2019-03-14 14:40:33 +00:00
PoroCYon 26d96fc2c1 get rid of a few more bytes 2019-03-14 14:40:33 +00:00
PoroCYon 5e19c2746e add dnload import method to 64-bit version (unoptimized atm) 2019-03-14 14:40:33 +00:00
PoroCYon aed33c73a9 make things smaller again 2019-03-14 14:40:33 +00:00
PoroCYon 434630e6cc fix -fno-plt failing 2019-03-14 14:40:33 +00:00
PoroCYon 237ba99104 more size crunching, but not completely perfect 2019-03-06 12:01:42 +00:00
PoroCYon 6e2aa414a3 more optimizations (64-bit only for now) 2019-03-06 12:01:42 +00:00
PoroCYon 0993ec8dcb use repne scas[dq] for searching for l_entry 2019-02-27 23:23:10 +00:00
PoroCYon a6c4c6f2dd ... and fix the Makefile to work again with code that uses main() instead of _start() 2019-02-27 23:23:10 +00:00
PoroCYon d903ef2d50 use pkg-config in makefile (thanks unlord) 2019-02-27 23:23:10 +00:00
PoroCYon a73dfb9789 fix stupid 32-bit compilation failure 2019-02-27 23:23:10 +00:00
PoroCYon 38ea8e9531 64-bit version. 2019-02-27 23:23:10 +00:00
PoroCYon cccd9656de lots of stuff, see detailed desc.
* reorganize the project structure a bit (sorry not sorry :P)
  * src/ -> test/
  * ldr/ -> src/, ld/
  * mksyms -> smol.py (and smol*.py)
* clean up and make the python script a bit less hacky
* optimize the loader code (there can still be done more, though)
* preserve the stack so argc, argv and envp can be read
* more stuff
2019-02-27 23:23:10 +00:00
PoroCYon f6b9a927a6 use _start, but don't call it ;) 2019-02-27 23:23:10 +00:00
PoroCYon 9f57498eea fix smol wrt new glibc version, make mksyms much faster 2019-02-27 23:23:10 +00:00
Shiz 6081557aa2 epoch 2018-04-12 00:14:36 +02:00