https://sourceware.org/bugzilla/show_bug.cgi?id=34261

            Bug ID: 34261
           Summary: [RISC-V] GNU ld.bfd RISC-V split-stack wrong-success
           Product: binutils
           Version: 2.45
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: l784896635 at gmail dot com
  Target Milestone: ---

Created attachment 16770
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16770&action=edit
Reduced testcase

I reduced this to the attached RISC-V testcase and can reproduce it 3/3 times.
Observed: GNU ld.bfd 2.45 links successfully with rc=0, drops the input
`.note.GNU-split-stack` marker, and emits `_start: jal test; ret` followed by
`test: ret`.
Expected: Link a RISC-V object marked with `.note.GNU-split-stack` against a
normal non-split-stack callee.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to