florian
|
c357212b45
+ search crt* files also in /usr/lib/x86_64-linux-gnu, multiarch supporting distros require this
|
11 tahun lalu |
sergei
|
38058505ba
* Changed linking infrastructure to look like assembler one:
|
12 tahun lalu |
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 tahun lalu |
sergei
|
1f8a67f552
+ Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil.
|
12 tahun lalu |
sergei
|
dddc78514d
* Internal ELF linker: for MIPS targets, place .got section after .data. This corresponds to behavior of ld, and reduces amount of processing when adding GOT slots for local symbols (which requires re-doing layout for all sections that come after .got)
|
12 tahun lalu |
Jonas Maebe
|
b16677a75b
* only pass --gc-sections to the linker if smart linking is enabled
|
12 tahun lalu |
florian
|
7511968f2b
+ warn if one of the linux libc startup code files is not found
|
12 tahun lalu |
sergei
|
af4935e346
+ Support dynamic copy relocations.
|
12 tahun lalu |
sergei
|
b197919953
* Handle relocation section prefixes (.rel/.rela) in internal linker script based on ElfTarget.relocs_use_addend, getting rid of $ifdef's.
|
12 tahun lalu |
sergei
|
0196c62ee8
+ Initial work to support versions of ELF dynamic symbols.
|
12 tahun lalu |
sergei
|
a7e7d97da6
* ELF linker: fixed written values of STT_TLS symbols, they must be relative to PT_TLS segment address.
|
12 tahun lalu |
sergei
|
49501413e1
+ Support library grouping in internal linker script, use it to load C libraries.
|
12 tahun lalu |
sergei
|
f94ba86bb9
* ModulesLinkToLibc: another fix. We also have to look in ImportLibraryList because items contained there aren't yet merged into linkothersharedlibs when this function is called.
|
12 tahun lalu |
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 tahun lalu |
sergei
|
0e8829e4e2
* ModulesLinkToLibc: Search for both bare and prefixed names of libc. When this function is invoked, import library names are not yet normalized and either one may be present. Failure to detect libc may end up in using wrong sysinit unit, this fortunately affects only i386-linux (other Linux targets aren't using Pascal sysinit units yet).
|
13 tahun lalu |
tom_at_work
|
f5ddc02a5c
+ add debian armel library search path
|
13 tahun lalu |
florian
|
ad3aa937d3
* respect Dontlinkstdlibpath when adding a default library search path
|
13 tahun lalu |
florian
|
2b6fc9b1ee
+ at least raspian has no soft links in /usr/lib to crt*.o, so add their location to the search path
|
13 tahun lalu |
sergei
|
2638bc01d9
* Fixed error introduced in r21732. For libraries, startup is always dllprt0.o, regardless of profiling/linking to libc. Mantis #22397.
|
13 tahun lalu |
sergei
|
32e399159f
* Factored common parts that can be/should be reused in the internal linker.
|
13 tahun lalu |
pierre
|
600dd162af
Merge of rev21557 by Foxsen
|
13 tahun lalu |
Jonas Maebe
|
c27f9da1b2
* always surround ld link.res SEARCH_DIR() arguments with double quotes,
|
13 tahun lalu |
Jonas Maebe
|
0841ee6e4f
* GNU ld only supports double quotes in its response file -> requote there
|
13 tahun lalu |
Jonas Maebe
|
14cfe770a4
* replaced most (if not all) remaining fields/parameters in the compiler
|
13 tahun lalu |
Jonas Maebe
|
6ba8dc7146
+ support for the ARM hard float EABI on Linux (patch by Peter Green):
|
13 tahun lalu |
tom_at_work
|
9ce34c63c9
Fix shared library loading and unloading for Linux platforms. Shared library initialization and finalization are now called correctly at program startup for compile-time linked dynamic libraries on powerpc-/powerpc64-/arm-/i386- and x86_64-linux.
|
14 tahun lalu |
pierre
|
3cc2b5e97b
+ Added default dynamic linker for mips CPU
|
14 tahun lalu |
Jonas Maebe
|
78c3e6b359
* always use crtbeginS.o/crtendS.o when generating PIC code, not just when
|
14 tahun lalu |
Jonas Maebe
|
1f61b5b30c
* reverted the rtl patches from r14184, because they cause an endless
|
14 tahun lalu |
Jonas Maebe
|
356026f849
* use new_section() instead of tai_section.create() everywhere
|
15 tahun lalu |