Jonas Maebe
|
e06a759e20
- reverted r31664, it causes crashes with some ld versions :/
|
před 10 roky |
Jonas Maebe
|
cd41bf672c
* use binutils 2.19+ linker script "augmentation" functionality to specify
|
před 10 roky |
Jonas Maebe
|
4f38317bd2
* fixed small linker script syntax error in r31459
|
před 10 roky |
Jonas Maebe
|
6d29ad44f7
* always use a minimal linker script when we are not using -T, so that the
|
před 10 roky |
Jonas Maebe
|
6bb430e97c
* also use the ARM/EABI linker script when targeting armhf
|
před 10 roky |
Jonas Maebe
|
882421a3ad
* also use -T when cross-compiling a shared library using a sysroot on
|
před 10 roky |
Jonas Maebe
|
e391a37b30
* add the sysrootpath to the path of the dynamic linker in the INPUT()
|
před 10 roky |
Jonas Maebe
|
3f9f498e0d
- removed leftover alpha, ia64 and vis code
|
před 10 roky |
nickysn
|
d4a4b9a57b
* refactored the internal linker ar object reader object creation to allow using
|
před 10 roky |
Jonas Maebe
|
8628d50aba
+ Linux/AArch64 compiler support (patch by Edmund Grimley Evans)
|
před 10 roky |
Jonas Maebe
|
05f6660a25
* set the correct dynamic linker for the ppc64 ELFv2 abi
|
před 10 roky |
Jonas Maebe
|
3946971c73
* default to ppc64le/elfv2 when compiling on a ppc64le platform
|
před 10 roky |
marco
|
1b85962ef3
* put default libgcc path under if Dontlinkstdlibpath...
|
před 10 roky |
sergei
|
15ff2c1236
* m68k: Fixed name of ELF interpreter, and updated cprt0.as to somewhat working state. Now a "hello world" program using libc can be linked and launched, but anything more complex needs another round of fixing the parameter passing code, in order to get the stack properly balanced.
|
před 11 roky |
Jonas Maebe
|
ca446b4b2a
- removed registration of x86_6432 target because it's not supported in any
|
před 11 roky |
florian
|
c357212b45
+ search crt* files also in /usr/lib/x86_64-linux-gnu, multiarch supporting distros require this
|
před 11 roky |
sergei
|
38058505ba
* Changed linking infrastructure to look like assembler one:
|
před 12 roky |
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.
|
před 12 roky |
sergei
|
1f8a67f552
+ Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil.
|
před 12 roky |
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)
|
před 12 roky |
Jonas Maebe
|
b16677a75b
* only pass --gc-sections to the linker if smart linking is enabled
|
před 12 roky |
florian
|
7511968f2b
+ warn if one of the linux libc startup code files is not found
|
před 12 roky |
sergei
|
af4935e346
+ Support dynamic copy relocations.
|
před 12 roky |
sergei
|
b197919953
* Handle relocation section prefixes (.rel/.rela) in internal linker script based on ElfTarget.relocs_use_addend, getting rid of $ifdef's.
|
před 12 roky |
sergei
|
0196c62ee8
+ Initial work to support versions of ELF dynamic symbols.
|
před 12 roky |
sergei
|
a7e7d97da6
* ELF linker: fixed written values of STT_TLS symbols, they must be relative to PT_TLS segment address.
|
před 12 roky |
sergei
|
49501413e1
+ Support library grouping in internal linker script, use it to load C libraries.
|
před 12 roky |
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.
|
před 12 roky |
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.
|
před 12 roky |
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).
|
před 12 roky |