10 Commits
Author SHA1 Message Date
Anghelo Carvajal 831fe4a3a0 Mark __romPos as HIDDEN (#548)
Fixes #547
2026-07-18 23:05:14 +09:00
Anghelo Carvajal a17a6dc0e4 Run CI tests on Windows, Macos and Linux (#444)
* Run unit_tests on windows and macos

* Setup venv since macos really wants venv

* windows venv path is different for some reason

* Enable `ld_dependencies` and `create_asm_dependencies` on the basic_app yaml

Also reduce some paths and change compiler to KMC

* Fix silly paths on CI

* Fix??

* CI FIX???

* ciiiiiiiii

* idk

* Stuff is hardcoded and I don't care enough to figure out how to fix it

* maybe?

* I'm dumb

* Ensure Windows uses posix paths on dependency files and the linker script

* changelog

* fix?

* Perform LF normalization on Windows

* ???

* More endline normalization?

* more changelog
2025-02-28 13:20:21 -05:00
Anghelo Carvajal a5671d7581 Turn off ld_generate_symbol_per_data_segment (#409)
* Turn off `ld_generate_symbol_per_data_segment`

* update tests
2024-10-14 13:03:09 +09:00
Anghelo CarvajalandEthan Roseman 2f4ca7b5de Rework auto sections insertions to work with every segment (#329)
* proof of concept

* fix index

* generalize algorithm for other sections

* fix bss_sibling pointing to the data sibling

* rodata

* Fix bss being misenterpreted as data

* cleanup

* delete dead cod

* mypy & black

* update tests

* mypy

* some comments

* changelog

* yeet data_sibling and bss_sibling

* Yeet rodata_sibling

* whoopsie

* rework again how auto_all is handled

* black

* imrpove?

* maybe it works now?

* cleanup

* regen test

* Slight rewording

---------

Co-authored-by: Ethan Roseman <[email protected]>
2024-01-20 23:29:22 +09:00
Anghelo Carvajal bf661e7b07 Rework tests a little bit (#318)
* yeet clean.sh and move downloading kmc to makefile

* yeet build.sh

* deps

* more deps

* woops

* a

* remove docker from the sh

* arrg

* e

* i

* wget

* maybe?

* idk what im doing

* xzcv

* yeet docker because I couldn't make it work

* i'm a dumb dumb

* fix yaml

* Fix test_gen_expected.sh

* fixes

* Add instructions to run the tests
2023-12-25 02:22:11 +09:00
Anghelo CarvajalandEthan Roseman 3e9e7cb734 ld_align_section_vram_end (#309)
* ld_align_section_vram_end

* changelog

* unit test

* fix

* Update util/options.py

Co-authored-by: Ethan Roseman <[email protected]>

---------

Co-authored-by: Ethan Roseman <[email protected]>
2023-11-27 01:24:18 +09:00
Anghelo Carvajal b4cec5569a ld_align_segment_vram_end (#307)
* ld_align_segment_vram_end

* docs

* version

* fix unit tests (?)

* fix again?

* arrrrgg

* idk

* undo changes on ld
2023-11-25 03:01:27 +09:00
Anghelo Carvajal ccaf841319 ld_fill_value (#301)
* ld_fill_value

* changelog and docs

* black

* tests
2023-11-02 01:46:38 +09:00
sozud 69b87d7499 Integrate new test app from @Mr-Wiseguy (#244)
* Integrate new test app from @Mr-Wiseguy

* specify gcc, label some data, remove . from rodata and data in splat yaml

* mark bss

* add - [0x1138]

* revert back to rodata version
2023-05-03 22:58:18 +09:00
sozud 52543e16a1 Add more sections to e2e test (#235) 2023-04-23 00:50:10 +09:00