Commit Graph

56 Commits

Author SHA1 Message Date
5a57b1e191 Update the copyright notice 2024-04-08 01:35:32 +02:00
78d14afcc6 tests: test 32-bit binaries if available 2024-04-08 01:35:22 +02:00
8a99c9590b tests: restore the tests.log target on amd64 2024-04-08 01:32:27 +02:00
863b9ac935 tests: add support for i386
While there, allow building 32-bit objects on 64-bit platforms.
Effectively implement it on amd64 platforms.

Default to 32-bit platforms for portability. (Native objects only)
2024-04-08 01:22:23 +02:00
707e7f920c ld.so: missing variable initialisation 2021-10-11 00:02:42 +02:00
b9f0f8cbd1 ld.so: fix build on macOS 2021-10-10 19:37:46 +02:00
33499036e4 Fix build with clang 2021-10-10 19:35:58 +02:00
9377b12f9b Disable debugging messages by default 2021-10-10 19:25:32 +02:00
ce70963043 ldd: fix build on macOS 2021-10-10 19:20:28 +02:00
3842ffdee1 Code cleanup 2021-10-09 00:54:35 +02:00
45db57f0d2 Register the "distcheck" test 2021-10-09 00:54:11 +02:00
73882121b4 Import a tests for "make distcheck" 2021-10-09 00:46:41 +02:00
6d7ed28cc5 Register a "make tests" target 2021-10-09 00:39:51 +02:00
493a3e186d Register tests.log 2021-10-09 00:37:07 +02:00
b947da0100 Register the first tests
They both fail so far.
2021-10-09 00:36:32 +02:00
1cc39e8841 Register printself-static 2021-10-09 00:31:57 +02:00
c2f0ad358b Build a normal and a static version of printself 2021-10-09 00:22:46 +02:00
563d988084 Avoid multiple inclusion of elf.c 2021-10-09 00:08:02 +02:00
caa81a4f8f Build executables as PIE by default 2021-10-08 21:26:46 +02:00
1a49c1cb00 Build ldd(1) as a PIE by default 2021-10-08 21:26:46 +02:00
c598b8c621 Register the "printself" test 2021-10-08 21:26:46 +02:00
93639abfdc Import a first helper for tests 2021-10-08 21:26:46 +02:00
6edda6ea24 Improve the handling of ASFLAGS{,F} 2021-10-08 21:26:46 +02:00
a50eee8a8b Detect the target architecture at compile-time 2021-10-08 21:26:46 +02:00
21c0ef048f Implement the assembly glue
It does not work yet though.
2021-10-08 21:26:46 +02:00
6d445f0255 Copy file contents to memory when smaller than the region 2021-10-08 21:26:46 +02:00
8e93085060 Implement relocations in a single function 2021-10-08 21:26:46 +02:00
b3170af3e2 Begin to implement ld.so 2021-10-08 21:26:46 +02:00
7742236366 ldd: fail when no dynamic section is found 2021-10-08 21:26:37 +02:00
0120299822 Update the copyright notice 2021-10-02 05:38:15 +02:00
6f03429c7b ldd: introduce compilation modes 2021-10-02 05:33:38 +02:00
e62fd466b5 ldd: build with FORTIFY, stack protector, and RELRO 2021-10-02 05:31:24 +02:00
2e7ac6056a Loader: change the license to 2-clause BSD 2021-10-02 05:29:45 +02:00
77a6beade6 Add a couple .gitignore files 2015-05-16 14:49:13 +02:00
a786cb2dcb No longer store the Makefiles in the source tree 2015-05-16 14:48:28 +02:00
48a708aed3 Re-generate the Makefiles 2015-05-16 14:48:10 +02:00
e21f6edd6c .cvsignore files are no longer necessary 2014-12-27 18:10:18 +01:00
6ee7b33be5 Added support for building with OBJDIR 2014-11-04 00:42:06 +01:00
4a97e5301a Use $(BINDIR) instead of $(PREFIX)/bin 2014-04-23 18:10:02 +02:00
1ac21b1020 Re-generated the Makefiles 2014-04-23 18:10:02 +02:00
1a4b516c03 Re-generated the Makefiles 2013-03-24 17:14:01 +01:00
a2c5ce9fca Re-generated Makefiles 2013-01-07 02:21:28 +01:00
13e0c59d31 Re-generated Makefiles 2011-09-16 11:54:13 +00:00
6fdac87339 Re-generated Makefiles 2011-09-16 11:36:26 +00:00
bab07290d9 Re-generated Makefiles 2011-09-16 10:19:40 +00:00
12007e0a2e Removed useless self-mention of .cvsignore in .cvsignore files 2011-07-29 00:28:45 +00:00
e97614bc9d Implemented the LD_LIBRARY_PATH environment variable 2011-07-10 11:29:48 +00:00
4f4a64c2bf Code cleanup 2011-07-10 00:34:04 +00:00
eb74715b31 Fallback to "/usr/lib:/lib" if libraries aren't found in DT_RPATH 2011-07-10 00:21:36 +00:00
81dfb821b0 Displaying the full library filename when found 2011-07-10 00:15:42 +00:00