Landing: 1646ca5c7323

Project / Subsystem

gcc / libgcc

Date

2026-07-11

Author

Rainer Orth

Commit

1646ca5c7323d6ddce15a3fc859adc212c919e0a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libgcc
patch_id
commit_hash
1646ca5c7323d6ddce15a3fc859adc212c919e0a
source_type
github
headline
Support -mcall-ms2sysv-xlogues on NetBSD/x86.
tldr
Improves libgcc support for the MS ABI calling convention on NetBSD/x86 platforms.
author
Rainer Orth
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libgcc
  • netbsd
  • x86
  • abi
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

This change adds support for the -mcall-ms2sysv-xlogues option on NetBSD/x86 systems, resolving undefined references in tests related to the Microsoft (MS) ABI calling convention. The fix aligns with a previous change for FreeBSD/x86, but omits the emission of .note.GNU-stack sections as they are unnecessary on NetBSD. The changes were verified without regressions on NetBSD and Linux x86_64.