Re: macho gas support

Project / Subsystem

binutils / binutils

Date

2026-05-28

Proposer

Iain Sandoe <iain@sandoe.co.uk>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Adding Mach-O support to gas increases its complexity and maintenance burden.
  • The remaining test failures and relocation issues need to be resolved before the support can be considered complete.

All attributes

project
binutils
subsystem
binutils
patch_id
discussion_id
F41F5DF9-8AA5-4E95-B545-5028A0715060@sandoe.co.uk
source_type
public_inbox
title
Re: macho gas support
headline
macho gas support
tldr
A developer reports progress on Mach-O assembler support, noting some test failures and relocation issues on darwin17.
proposer
Iain Sandoe <iain@sandoe.co.uk>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Adding Mach-O support to gas increases its complexity and maintenance burden.
  • The remaining test failures and relocation issues need to be resolved before the support can be considered complete.
series_id
series_role
standalone
series_parts
[]
tags
  • macho
  • gas
  • assembler
  • binutils
  • relocation
bugzilla_url
date
2026-05-28T00:00:00.000Z

Re: macho gas support

A developer provides an update on their work to support the Mach-O object file format in the GNU assembler (gas). They report that they were able to build gas for the i686-apple-darwin17 target (32-bit macOS), and that some tests now pass. They also note that some tests are still failing, and that there are issues with generating correct relocations for section differences. This work aims to allow gas to assemble code that can be linked into Mach-O binaries, which is useful for building software on macOS and other Apple platforms.