13 Commits

Author SHA1 Message Date
Luke Street dddb335c22 Update patch: switch to @h/@l relocation syntax 2.45.1-1 2026-02-09 08:23:44 -07:00
Luke Street 9bc378d68a Update patch: add %hi()/%lo() relocation support 2.45.1-0 2026-02-08 22:44:44 -07:00
Luke Street c3e349ad8b macOS: install texinfo via brew instead of makeinfo shim 2026-02-08 21:48:33 -07:00
Luke Street 90deaf8e14 Fix macOS build: add makeinfo shim
Create a no-op makeinfo shim in PATH instead of trying to prevent
regeneration. The bfd build generates bfdver.texi during make which
always triggers bfd.info rebuild, so the only reliable fix is to
have a makeinfo that succeeds without doing anything.
2026-02-08 21:32:30 -07:00
Luke Street 82eb91250a Fix macOS build: touch .info files after configure-host
Move the .info touch after configure-host so they're newer than the
generated .texi files (like doc/bfdver.texi), preventing make from
trying to invoke makeinfo.
2026-02-08 21:25:10 -07:00
Luke Street 11dd9d7bd1 Fix macOS build: touch .info files to skip makeinfo
Touch all .info files after patching so they appear newer than their
.texi sources. This prevents make from trying to regenerate them,
which requires makeinfo (not available on macOS CI runners).
2026-02-08 21:18:09 -07:00
Luke Street cf05d2ddff Fix macOS build: pass MAKEINFO=true to configure and make
Pass MAKEINFO=true as a configure variable and make override to
properly suppress makeinfo invocations in all subdirectories.
2026-02-08 21:10:29 -07:00
Luke Street a205c33857 Fix macOS build: export MAKEINFO=true
MAKEINFO=true needs to be exported so sub-configures (bfd, etc.)
inherit it, preventing makeinfo-not-found errors during parallel build.
2026-02-08 21:03:45 -07:00
Luke Street d2849f2357 Fix macOS build: set MAKEINFO=true
The macOS CI runner doesn't have makeinfo (texinfo) installed, causing
bfd doc generation to fail. Set MAKEINFO=true to skip doc building.
2026-02-08 20:56:06 -07:00
Luke Street e8790e035f Use ibiblio mirror and fix macOS build
Switch from ftpmirror.gnu.org to mirrors.ibiblio.org for binutils
downloads. Add --with-system-zlib to macOS build to avoid bundled
zlib's fdopen macro conflicting with macOS SDK headers.
2026-02-08 20:46:13 -07:00
Luke Street de2679130e Enable PPC64 instructions for Xenon target
The Xbox 360's Xenon CPU is a 64-bit PowerPC. Update the patch to add
PPC_OPCODE_64 to the vmx128 dialect and set the Xenon arch to 64-bit,
enabling ppc64 instructions (ld, std, rldicl, mulld, cmpdi, etc.)
alongside AltiVec and VMX128.
2026-02-08 20:04:11 -07:00
Luke Street 8343998207 Fix build for binutils 2.45.1 with GAS support
- Fix BFD target struct for 2.45.1 API (remove TARGET_MERGE_SECTIONS)
- Fix ppc-dis.c variable names for 2.45.1 (dialect/sticky locals)
- Guard OBJ_XCOFF in tc-ppc.h to exclude TE_PE targets
- Fix md_apply_fix XCOFF-only code path for PE/COFF builds
- Remove broken LD aixppc emulation entry (XCOFF-only)
- Match gc-wii-binutils host build pattern (no patches needed)
- Use ftpmirror.gnu.org for reliable downloads
2026-02-08 19:45:45 -07:00
Luke Street 6af42f9bf7 Initial commit: cross-platform powerpc-xenon-pe binutils builds
Xbox 360 (Xenon) big-endian PowerPC COFF support patched onto
binutils 2.45.1, with cross-platform CI mirroring gc-wii-binutils.
2026-02-08 19:07:26 -07:00