Re: [PATCH v2 1/2] Check if linker supports -z separate-code

Project / Subsystem

glibc / glibc

Date

2026-04-17

Proposer

H.J. Lu <[email protected]>

Source type

public_inbox

Consensus

Proposed

Sentiment

6/10

Technical tradeoffs

  • Requires a linker that supports the -z separate-code option.

All attributes

project
glibc
subsystem
glibc
patch_id
discussion_id
CAMe9rOqdkoLnOsgRnUw_-5aA0ta+DW0kaNmhGYJNf3gRc_gbQw@mail.gmail.com
source_type
public_inbox
title
Re: [PATCH v2 1/2] Check if linker supports -z separate-code
headline
Check if linker supports -z separate-code
tldr
This patch checks if the linker supports the -z separate-code option.
stakes
Enables use of -z separate-code if supported by the linker, which can improve security by separating code and data.
proposer
H.J. Lu <[email protected]>
consensus
Proposed
outcome
proposed
sentiment_score
6
sentiment_rationale
The author indicates this was the wrong patch.
technical_tradeoffs
  • Requires a linker that supports the -z separate-code option.
series_id
glibc:check if linker supports -z separate-code
series_role
reply
series_parts
  • {"title":"Check if linker supports -z separate-code","url":"https://inbox.sourceware.org/libc-alpha/CAMe9rOrrpvo_DDK6DQZUBycRTV=ciDw9f5EFTUS+ko=Ano=KbQ@mail.gmail.com"}
  • {"title":"Check if linker supports -z separate-code","url":"https://inbox.sourceware.org/libc-alpha/PAWPR08MB8982730779AD584441D08A7783202@PAWPR08MB8982.eurprd08.prod.outlook.com"}
tags
  • linker
  • separate-code
  • security
  • build
bugzilla_url
date
2026-04-17T00:00:00.000Z

Re: [PATCH v2 1/2] Check if linker supports -z separate-code

The patch checks if the linker supports the -z separate-code option. The author retracts a previous statement about the patch being unchanged, suggesting it was a mistake.