Commit Graph

16 Commits

Author SHA1 Message Date
Kevin Lange
a9feffa03d Handle dlopen errors better. 2017-01-29 17:40:40 +09:00
Kevin Lange
29b621ae49 Fix horribly incorrect init_array processing, and also do it for the main binary 2017-01-05 20:47:16 +09:00
Kevin Lange
1e5b785b0d GCC and Binutils upgrade attempt 2016-12-26 09:48:37 +09:00
Kevin Lange
9ce05b238f Add /opt/lib as a default ld search path 2016-12-20 11:21:33 +09:00
Kevin Lange
eb231245ab Print 'Symbol not found' as a debug trace instead 2016-12-19 21:34:17 +09:00
Kevin Lange
a4a39d2472 Add more debug text to ld 2016-12-17 21:24:25 +09:00
Kevin Lange
5512124119 Merge linker Makefile and prettify 2016-12-15 19:49:10 +09:00
Kevin Lange
5bb624a355 Rebuild libc.so when libc.a changes 2016-12-14 17:24:26 +09:00
Kevin Lange
0bc5ec53ce Support dlopen(NULL,...) 2016-12-12 19:27:07 +09:00
Kevin Lange
06441bafb1 Pull dependencies for dlopen'd libs and don't load dupes 2016-12-06 22:18:15 +09:00
Kevin Lange
82492bf0d2 Remove extraneous make targets from linker makefile 2016-12-05 22:12:18 +09:00
Kevin Lange
75f7d35ee2 Add error conditions to linker 2016-12-05 18:07:20 +09:00
Kevin Lange
2ee9cb6940 Basic dlopen implementation 2016-12-05 17:40:10 +09:00
Kevin Lange
7a56fb906e Make sure we run init for the main binary 2016-12-03 19:08:08 +09:00
Kevin Lange
f71a960469 Make linker makefile a bit more explicit 2016-12-03 15:52:30 +09:00
Kevin Lange
8313d9906e merge linker 2016-12-03 15:36:25 +09:00