Andrius Štikonas
1407f92220
cc_amd64: fix stack alignment and save non-volatile registers.
2023-12-23 23:09:33 +00:00
Andrius Štikonas
e5453f203a
Remove an extra confusing zero from SIMPLE_FS_PROTOCOL_GUID.
2022-10-23 22:59:37 +01:00
Andrius Štikonas
4df1f2360f
Fix cc_amd64 return code.
2022-10-19 21:03:31 +02:00
Andrius Štikonas
9876a5e51c
Update PE32 header.
...
* Use hex2 %label1>label2 to calculate SizeOfHeaders and SizeOfOptionalHeader.
* Rename PE32_end to ELF_end for compatibility with stage0-posix.
* Zero ImageBase field.
* Zero BaseOfCode field.
2022-10-11 00:49:17 +01:00
Andrius Štikonas
9a6c1a0efa
Allocate more memory in cc_amd64, without it it tends to hang when building M2-Planet.
2022-10-10 23:43:36 +01:00
Andrius Štikonas
0400521170
Switch cc_amd64 to output new defines and position independent code.
2022-10-09 15:55:28 +01:00
Andrius Štikonas
7f17d4a475
Reorder M1 defines.
2022-10-08 20:52:11 +01:00
Andrius Štikonas
ecca40494a
Fix another cc_amd64 bug. cc_amd64 should be functional now.
2022-10-08 20:26:50 +01:00
Andrius Štikonas
92bebbf2cb
Whitespace fix.
2022-10-08 19:46:08 +01:00
Andrius Štikonas
92ffae0dbe
Fix a typo in cc_amd64.M1 that prevented it from working.
2022-10-08 19:33:25 +01:00
Andrius Štikonas
b18a371718
Actually commit cc_amd64.M1 which was forgotten in the previous commit.
2022-10-08 01:20:46 +01:00