mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 18:44:48 +01:00
Alex Smith
cc75156e51
Updated the x86_64 toolchain to fix build failures and to be more correct.
* A build failure occurs as TARGET_64BIT is no longer a compile-time constant in GCC. * Made some changes so that generated code matches the i386 Haiku target when generating 32-bit code, and follows the x86_64 ABI for 64-bit code. * Added a comment stating that DEFAULT_PCC_STRUCT_RETURN needs to be defined to follow the ABI for 32-bit code, it is ignored for 64-bit. * Remove definition of __x86_64__, already defined by GCC's i386-c.c. * Remove -z max-page-size from LINK_SPEC as it shouldn't be necessary: the default page size is 2MB but this won't result in large binaries, it just changes the alignment of the sections and would make it easier to map binaries using large pages in the future. Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
…
Description
No description provided
Languages
C
38.1%
C++
21.3%
Makefile
9.1%
Ada
7.7%
D
4.3%
Other
18.8%