Commit Graph
46 Commits
Author SHA1 Message Date
Nikita Smith fe967a3d36 more validity checks in simple_link_test 2025-06-25 10:53:24 -07:00
Nikita Smith c4a36f73dc redirect stdout and stderr to a file 2025-06-25 10:53:24 -07:00
Nikita Smith 3d2b1e19e3 handle communal var vs regular non-comdat symbol 2025-06-25 10:53:23 -07:00
Nikita Smith f2394b6cf7 off-by-one 2025-06-25 10:53:23 -07:00
Nikita Smith 382204a4ea WIP test delay user32 import 2025-06-25 10:53:23 -07:00
Nikita Smith 8fb0aaf2b3 test kernel32 import 2025-06-25 10:53:23 -07:00
Nikita Smith 9060004827 test for communal variable 2025-06-25 10:53:23 -07:00
Nikita Smith 40efbeb512 test for /INCLUDE 2025-06-25 10:53:23 -07:00
Nikita Smith da0e7e5f69 test for /ALTERNATENAME 2025-06-25 10:53:23 -07:00
Nikita Smith ea81d18223 test for out of bounds section number on external symbol 2025-06-25 10:53:23 -07:00
Nikita Smith ef476bf1f0 tests for COMDAT Associative selection 2025-06-25 10:53:23 -07:00
Nikita Smith 889b1807f2 test for COMDAT Largest selection 2025-06-25 10:53:23 -07:00
Nikita Smith e97d476c7c test for COMDAT ExactMatch selection 2025-06-25 10:53:23 -07:00
Nikita Smith 4b8c9db8f5 add dependency to COMDAT symbol so we do not need to link with /OPT:NOREF 2025-06-25 10:53:23 -07:00
Nikita Smith 9bea163d10 test COMDAT SameSize selection 2025-06-25 10:53:23 -07:00
Nikita Smith 8d324775a2 test COMDAT NoDuplicates selection 2025-06-25 10:53:23 -07:00
Nikita Smith c907a10365 fixup test for COMDAT Any 2025-06-25 10:53:23 -07:00
Nikita Smith f5504c79e9 test COMDAT any selection 2025-06-25 10:53:23 -07:00
Nikita Smith dcc8bfcf39 test section merges 2025-06-25 10:53:23 -07:00
Nikita Smith b709640ddc test for machine compatibility 2025-06-25 10:53:22 -07:00
Nikita Smith b8f45e97c9 test section alignment flags 2025-06-25 10:53:22 -07:00
Nikita Smith 87acc95016 set section align in common block test 2025-06-25 10:53:22 -07:00
Nikita Smith 681c1619fb finish undefined section test 2025-06-25 10:53:22 -07:00
Nikita Smith 971f6ec368 test virtual offset relocation with __ImageBase 2025-06-25 10:53:22 -07:00
Nikita Smith 60d3f25057 test for __ImageBase with relative and address relocations 2025-06-25 10:53:22 -07:00
Nikita Smith 89239fc744 test reloc for section symbol with merged section 2025-06-25 10:53:22 -07:00
Nikita Smith f467ff8822 WIP move export and import table make code to appropriate layers 2025-06-25 10:53:22 -07:00
Nikita Smith 2c5fb7e7ef guard against merges with resource and base reloc sections 2025-06-25 10:53:22 -07:00
Nikita Smith 8da56025b3 patch section symbol and test for relocations to discarded memory 2025-06-25 10:53:22 -07:00
Nikita Smith bd830a6023 test case for relocation to undefined section with base relocations 2025-06-25 10:53:22 -07:00
Nikita Smith 4161dd0440 check export table entries 2025-06-25 10:53:22 -07:00
Nikita Smith 9bcb227ed9 test imports and exports 2025-06-25 10:53:22 -07:00
Nikita Smith e7c808ee69 test simple lib link 2025-06-25 10:53:22 -07:00
Nikita Smith 3a7afcd80c replace linker lib writer with one from COFF 2025-06-25 10:53:22 -07:00
Nikita Smith 45ca147579 report test stats, and check the exit code 2025-06-25 10:53:22 -07:00
Nikita Smith a5b3df7d1b check flags on custom bss section 2025-06-25 10:53:22 -07:00
Nikita Smith 5cb682bcb3 check common block relocs and sort 2025-06-25 10:53:22 -07:00
Nikita Smith cede94f8d9 test for conflicting section header flags and common bss and common block
basic tests
2025-06-25 10:53:21 -07:00
Nikita Smith e9d5022a55 test section sorter 2025-06-25 10:53:21 -07:00
Nikita Smith 0772617486 add relocation for shared symbol in abs_vs_regular test
test linker on base relocations to abs symbols
2025-06-25 10:53:21 -07:00
Nikita Smith 2a0929014b test weak tag 2025-06-25 10:53:21 -07:00
Nikita Smith f39397fa78 test cycles made from weak symbols 2025-06-25 10:53:21 -07:00
Nikita Smith f17ed8485d add tests for symbols with absolute address 2025-06-25 10:53:21 -07:00
Nikita Smith 88d34eff54 simple link test 2025-06-25 10:53:21 -07:00
Nikita Smith 19694dac2a test case for merged pdata 2025-06-25 10:53:21 -07:00
Nikita Smith b9768be4ed tester for linkers 2025-06-25 10:53:21 -07:00