WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
0

Configure Feed

Select the types of activity you want to include in your feed.

gas: dw2gencfi: reset reloc to TC_PARSE_CONS_RETURN_NONE for [su]leb128

Some consumers, like SFrame generation logic in GAS, may want to check
reloc value (without qualifying by e->type) as a part of their
admissibility criteria. Setting reloc to TC_PARSE_CONS_RETURN_NONE for
these CFI escape expr nodes for [su]leb128 keeps the admissibility
checks simple and generic.

Previous discussion here:
https://sourceware.org/pipermail/binutils/2025-December/146807.html

gas/
* gas/dw2gencfi.c (dot_cfi_escape): Set reloc to
TC_PARSE_CONS_RETURN_NONE.

Indu Bhagat (Jan 5, 2026, 2:13 PM -0800) dfd1195b 1d1314ef

+1
+1
gas/dw2gencfi.c
··· 1006 1006 /* We're still at the opening parenthesis. Leave it to expression() 1007 1007 to parse it and find the matching closing one. */ 1008 1008 expression (&e->exp); 1009 + e->reloc = TC_PARSE_CONS_RETURN_NONE; 1009 1010 } 1010 1011 else 1011 1012 {