nickysn
|
bde7d0aacb
+ added "code segment too large" and "data segment too large" error messages
|
10 жил өмнө |
nickysn
|
a7e059c875
+ support segment relocations in the omf writer
|
10 жил өмнө |
nickysn
|
393b9b54a8
+ handle aitconst_farptr in the internal asm writer as a new relocation type (RELOC_FARPTR)
|
10 жил өмнө |
Jeppe Johansen
|
52e505bff7
Fixed internal error in GOT related code for ARM internal assembler.
|
10 жил өмнө |
Jeppe Johansen
|
71cdedea82
Add missing NOP, and B instruction forms.
|
10 жил өмнө |
Jeppe Johansen
|
de00a1d76d
Implement simple support for .thumb_func in the ELF output.
|
10 жил өмнө |
Jeppe Johansen
|
5c3093a937
Add most non-VFP Thumb-2 instruction entries for the ARM internal writer.
|
10 жил өмнө |
Jeppe Johansen
|
9e5979e8be
Implemented UAL syntax support in the ARM assembler reader. Can be toggled with a field for now, but not implemented yet. Still using pre-UAL syntax for now.
|
10 жил өмнө |
sergei
|
a4053370fc
* ELF linker: track relocation style (REL or RELA) of each input section and use it instead of global default on MIPS targets. This fixes internal linking of tests/test/units/system/tres*.pp.
|
10 жил өмнө |
nickysn
|
7cfd7a66cd
+ create a special 'heap' segment with reserved space equal to heapsize (i.e.
|
11 жил өмнө |
nickysn
|
3cc8ff11e3
+ generate the stack segment for i8086 far data memory models from within fpc
|
11 жил өмнө |
sergei
|
46f8e78d1f
+ Support GOT/gp-relative constants in GAS and internal assemblers, MIPS and i386.
|
11 жил өмнө |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 жил өмнө |
sergei
|
1f8a67f552
+ Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil.
|
12 жил өмнө |
sergei
|
5b6e50c9da
* It is incorrect to use var_align() in linker code: it depends on current_settings.alignment, which is valid only while compiling, not while linking. Replaced with size_2_align().
|
12 жил өмнө |
sergei
|
1fea5a82c1
* Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read.
|
12 жил өмнө |
sergei
|
b86372ccec
+ Internal linker: process unreferenced .pdata sections on x86_64-win64, restores the possibility to use GAS on win64 (which got broken by introducing SEH).
|
12 жил өмнө |
sergei
|
c3f8086598
+ Internal linker: base support for sections that aren't referenced but must be linked if section referenced by them is linked (like win64 .pdata). Actual handling is still to be implemented in descendant classes.
|
12 жил өмнө |
sergei
|
999c3a0a02
* COFF linker: postpone import section generation until unreferenced sections (and imports) are removed, and put all remaining imports into a single section. This is much more efficient than generating multiple smart-linkable import sections and immediately discarding a good half of them.
|
12 жил өмнө |
sergei
|
cded05ccef
+ MIPS linker: support linking PIC object files with non-PIC ones, by routing absolute calls into PIC code through stubs that load R25.
|
12 жил өмнө |
sergei
|
1d32b107f5
* Made address comparison 64-bit safe.
|
12 жил өмнө |
florian
|
20a534e63f
* fixed code which causes range check errors when compiled with -Cr
|
12 жил өмнө |
sergei
|
6484911f05
* TExeOutput.FixupRelocations method made virtual.
|
12 жил өмнө |
sergei
|
f98e09d86e
- TObjData.sectiontype2options: removed oso_keep flags. They don't have any effect here because this function is used only during assembling, and oso_keep cannot be represented in object files and therefore gets lost before linking.
|
12 жил өмнө |
sergei
|
2bba4e2d44
+ Stabs debug info needs swapping when linking for different endianness.
|
12 жил өмнө |
sergei
|
d7c5daeccd
* Don't calculate data position of each object section. Instead, write out a copy of exesection's memory image, i.e. every objsection is placed at the same offset from its owning exesection both on disk and in memory. This approach is simpler and works regardless of alignment requirements, while existing one could work only if SectionDataAlign<=SectionMemAlign.
|
12 жил өмнө |
sergei
|
00ca4a74a3
* Reworked/fixed TExeSymbol.State behavior:
|
12 жил өмнө |
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 жил өмнө |
sergei
|
129d737523
+ Allow TObjRelocation to be created without a symbol, such relocations are being used to tag specific positions on non-x86 targets.
|
12 жил өмнө |
sergei
|
0369a30f49
* Internal linker: made sec_rodata_norel read-only.
|
13 жил өмнө |