Commit History

Author SHA1 Message Date
  nickysn d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 years ago
  nickysn 8206c6dbd0 * the code for determining the code, data and bss sizes in the internal linker 10 years ago
  nickysn 85cb180d80 * prepend "+" to each file name to be added to the library by wlib. This 10 years ago
  nickysn 931f5a0b54 * fixed passing of the wlib output file parameter (-o requires an equal sign) 10 years ago
  nickysn 069fa51445 * use separate input and output files when invoking wlib to create a static 10 years ago
  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. 10 years ago
  nickysn eddab86312 * pass the -b option to wlib to avoid creating .bak files 11 years ago
  pierre 754790f641 Use new static library not supproted message 11 years ago
  pierre bef22b2a6f Add scripted version of wlib call for msdos 11 years ago
  sergei 38058505ba * Changed linking infrastructure to look like assembler one: 12 years ago
  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. 12 years ago
  Károly Balogh a11c113429 reverted the link object search change 12 years ago
  Károly Balogh e7094cf1d6 fix redundant searches in FindObjectFile, if the object was found on the first try 12 years ago
  nickysn a1ee8ab9bc * suppress annoying wlib header 12 years ago
  nickysn ac64663e70 + openwatcom wlib support added 12 years ago
  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. 12 years ago
  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. 12 years ago
  sergei 7d19a6d551 * Propagate AS_NEEDED flag down the expression tree an assign it to TStaticLibrary objects. 12 years ago
  sergei 49501413e1 + Support library grouping in internal linker script, use it to load C libraries. 12 years ago
  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. 12 years ago
  sergei d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 years ago
  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. 13 years ago
  sergei 31d004e056 + Basic executable stack support in TExeOutput. 13 years ago
  sergei 1a25aed68d * Renamed a method for consistency (let script building methods start with ScriptAdd). 13 years ago
  sergei 346fbef445 * Factored a common linker script building block into separate method. 13 years ago
  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. 13 years ago
  sergei a2f0e54dc6 * Fixed internal linker entering infinite loop if script contains empty lines or comments. 13 years ago
  sergei 6571b4d140 * Factored code to create internal link script for debug sections into a separate procedure. 13 years ago
  Jonas Maebe 14cfe770a4 * replaced most (if not all) remaining fields/parameters in the compiler 13 years ago
  Jonas Maebe 02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary 13 years ago