Commit Graph
70 Commits
Author SHA1 Message Date
Nikita SmithandRyan Fleury 6a3d7e65f3 remove year from the copyright 2025-09-05 15:19:31 -07:00
Nikita Smith b56ce72b7f test cases for weak vs weak 2025-08-18 19:09:32 -07:00
Nikita Smith 873aa475e8 update tests to conform to new linking rules 2025-08-18 19:09:32 -07:00
Nikita Smith 2b02f5cec6 lifetime fixes
- fully serialize the lib because we cannot guarantee that its members
  will have the same lifetime as the serialized lib
- put import stub symbols on the symbol table arena
2025-08-10 21:35:33 -07:00
Nikita Smith 7466da1479 mark referenced symbols as live for unresolved-symbol detection 2025-08-08 15:54:21 -07:00
Nikita Smith 6cc5be0065 opt ref test 2025-07-24 17:32:05 -07:00
Nikita SmithandRyan Fleury ffc9317067 add a relocation to "a" to prevent linker from removing .test 2025-07-23 16:09:48 -07:00
Nikita SmithandRyan Fleury a4ac07162e test abs vs abs 2025-07-23 16:09:48 -07:00
Nikita SmithandRyan Fleury d32667546d factor out weak symbol resolution logic and apply it to the symbol table
when building link context
2025-07-23 16:09:48 -07:00
Nikita SmithandRyan Fleury 093e43d2ff change output folder name 2025-07-16 13:54:58 -07:00
Nikita SmithandRyan Fleury 4322c9ccfc change torture to assume default liker to be radlink, typo fix, and
added progress report
2025-06-25 10:53:25 -07:00
Nikita SmithandRyan Fleury 7769a485ba more merge fixes 2025-06-25 10:53:25 -07:00
Nikita SmithandRyan Fleury e487fbc494 minor torture fixes 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury ba326924ee test for relocation against removed COMDAT 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 4c972c0fba handle COMDAT symbols with non-zero section offset 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 8ba64238a2 delay load test 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury b19be0574c function pad min - final pass over 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury a5119e3b51 WIP function pad min 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury d7b8de5998 test empty section and section with removed flag 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury a484906cf9 create section contribution for common block 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 95bea877ab merge .bss with custom section to simplify linker output verification 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury d604456def align sizeofs 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 32a22779da fix run 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 25710d39b7 test optional header fields 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury fe967a3d36 more validity checks in simple_link_test 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury c4a36f73dc redirect stdout and stderr to a file 2025-06-25 10:53:24 -07:00
Nikita SmithandRyan Fleury 3d2b1e19e3 handle communal var vs regular non-comdat symbol 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury f2394b6cf7 off-by-one 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 382204a4ea WIP test delay user32 import 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 8fb0aaf2b3 test kernel32 import 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 9060004827 test for communal variable 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 40efbeb512 test for /INCLUDE 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury da0e7e5f69 test for /ALTERNATENAME 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury ea81d18223 test for out of bounds section number on external symbol 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury ef476bf1f0 tests for COMDAT Associative selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 889b1807f2 test for COMDAT Largest selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury e97d476c7c test for COMDAT ExactMatch selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 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 SmithandRyan Fleury 9bea163d10 test COMDAT SameSize selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury 8d324775a2 test COMDAT NoDuplicates selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury c907a10365 fixup test for COMDAT Any 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury f5504c79e9 test COMDAT any selection 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury dcc8bfcf39 test section merges 2025-06-25 10:53:23 -07:00
Nikita SmithandRyan Fleury b709640ddc test for machine compatibility 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury b8f45e97c9 test section alignment flags 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury 87acc95016 set section align in common block test 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury 681c1619fb finish undefined section test 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury 971f6ec368 test virtual offset relocation with __ImageBase 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury 60d3f25057 test for __ImageBase with relative and address relocations 2025-06-25 10:53:22 -07:00
Nikita SmithandRyan Fleury 89239fc744 test reloc for section symbol with merged section 2025-06-25 10:53:22 -07:00