Commit History

Autor SHA1 Mensaxe Data
  nickysn d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using %!s(int64=10) %!d(string=hai) anos
  nickysn 8206c6dbd0 * the code for determining the code, data and bss sizes in the internal linker %!s(int64=10) %!d(string=hai) anos
  nickysn 85cb180d80 * prepend "+" to each file name to be added to the library by wlib. This %!s(int64=10) %!d(string=hai) anos
  nickysn 931f5a0b54 * fixed passing of the wlib output file parameter (-o requires an equal sign) %!s(int64=10) %!d(string=hai) anos
  nickysn 069fa51445 * use separate input and output files when invoking wlib to create a static %!s(int64=10) %!d(string=hai) anos
  Károly Balogh c421f4d91e do not include outputexedir in linker resname. it causes the path to be double-included when cross-compiling with -st and -FE on Liunuxes. also, be consistent between linking on host and target. %!s(int64=10) %!d(string=hai) anos
  nickysn eddab86312 * pass the -b option to wlib to avoid creating .bak files %!s(int64=11) %!d(string=hai) anos
  pierre 754790f641 Use new static library not supproted message %!s(int64=11) %!d(string=hai) anos
  pierre bef22b2a6f Add scripted version of wlib call for msdos %!s(int64=11) %!d(string=hai) anos
  sergei 38058505ba * Changed linking infrastructure to look like assembler one: %!s(int64=12) %!d(string=hai) anos
  sergei eec8129738 * TInternalLinker.Load_ReadStaticLibrary: exit if error has occurred while opening a static library or dynamic object, continuing can cause other errors/crashes in this case. %!s(int64=12) %!d(string=hai) anos
  Károly Balogh a11c113429 reverted the link object search change %!s(int64=12) %!d(string=hai) anos
  Károly Balogh e7094cf1d6 fix redundant searches in FindObjectFile, if the object was found on the first try %!s(int64=12) %!d(string=hai) anos
  nickysn a1ee8ab9bc * suppress annoying wlib header %!s(int64=12) %!d(string=hai) anos
  nickysn ac64663e70 + openwatcom wlib support added %!s(int64=12) %!d(string=hai) anos
  sergei a1503b51f2 + chmod 755 on executable files produced by internal linker. I missed this "small" detail for half a year because all development was going on a NTFS drive where everything is executable. %!s(int64=12) %!d(string=hai) anos
  sergei 36859068f5 * Propagate AS_NEEDED flag further into Load_DynamicObject and handle it properly: shared objects marked with AS_NEEDED are added to dependencies only if they actually resolve some symbol. %!s(int64=12) %!d(string=hai) anos
  sergei 7d19a6d551 * Propagate AS_NEEDED flag down the expression tree an assign it to TStaticLibrary objects. %!s(int64=12) %!d(string=hai) anos
  sergei 49501413e1 + Support library grouping in internal linker script, use it to load C libraries. %!s(int64=12) %!d(string=hai) anos
  sergei 6d70009f06 + ELF linker. Works on x86_64-linux and i386-linux good enough to pass the testsuite, but still requires a lot of work in nearly all aspects. In particular, no attempt to resolve symbols from shared libs is done, everything is just treated as imports. Symbol versioning isn't supported either. %!s(int64=12) %!d(string=hai) anos
  sergei d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). %!s(int64=13) %!d(string=hai) anos
  sergei 1d09005542 + Implemented two-stage removal of empty exe sections. Candidates for removal are first marked with oso_disabled flag, then actually removed. Descendants of TExeOutput that override MemPos_Start may modify list of sections pending removal. In particular, the COFF-specific .reloc section no longer has to be handled in base TExeOutput class. %!s(int64=13) %!d(string=hai) anos
  sergei 31d004e056 + Basic executable stack support in TExeOutput. %!s(int64=13) %!d(string=hai) anos
  sergei 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). %!s(int64=13) %!d(string=hai) anos
  sergei 346fbef445 * Factored a common linker script building block into separate method. %!s(int64=13) %!d(string=hai) anos
  sergei 80bbd388f9 * Made removal of unused ExeSymbols a separate procedure, call it earlier and regardless of presence of the 'SYMBOLS' directive in the linker script. %!s(int64=13) %!d(string=hai) anos
  sergei a2f0e54dc6 * Fixed internal linker entering infinite loop if script contains empty lines or comments. %!s(int64=13) %!d(string=hai) anos
  sergei 6571b4d140 * Factored code to create internal link script for debug sections into a separate procedure. %!s(int64=13) %!d(string=hai) anos
  Jonas Maebe 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler %!s(int64=13) %!d(string=hai) anos
  Jonas Maebe 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary %!s(int64=13) %!d(string=hai) anos