[PATCH] D139092: [RFC][LLD][ELF] Cortex-M Security Extensions (CMSE) Support

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 17:41:05 PST 2023


MaskRay added a comment.

An interesting case: if the input doesn't need a linker-synthesized veneer (say, it just contains `cmse_no_veneer no_veneer1, function, weak, function, global`), `ld.lld --cmse-implib -Ttext=0x8000 --section-start .gnu.sgstubs=0x20000 a.o -o a` will give errors

  error: unable to place section .text at file offset [0x8000, 0x8011]; check your linker script for overflows
  error: no address assigned to the veneers output section .gnu.sgstubs


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139092/new/

https://reviews.llvm.org/D139092



More information about the llvm-commits mailing list