Landing: 31393a5fd0e8

Project / Subsystem

binutils / gas/bpf

Date

2026-09-10

Author

Vineet Gupta <vineetg@sourceware.org>

Commit

31393a5fd0e88f3e1384665352a7e13cfdd70e38

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
gas/bpf
patch_id
—
commit_hash
31393a5fd0e88f3e1384665352a7e13cfdd70e38
source_type
public_inbox
headline
BPF assembler: test compound conditional jumps with `gotol`
tldr
A new test case ensures the BPF assembler correctly handles compound conditional jumps that use `gotol`.
author
Vineet Gupta <vineetg@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • bpf
  • • assembler
  • • test
discussion_id_link
—
bugzilla_pr
—
date
2026-09-10T00:00:00.000Z

This commit adds a new test case (jump-gotol-cond-pseudoc.s, .d, .l) to the BPF assembler test suite. The test verifies the handling of compound conditional jumps, specifically when they involve gotol. Previously, the assembler could silently misassemble these as unconditional jumps with invalid relocations due to ordering issues in the opcode table. The new test ensures that such cases are properly diagnosed or assembled correctly.