Skip to content

objtool: Fix some -ffunction-sections edge cases

Josh Poimboeuf linux-toolchains live-patching lkml 1 version Applied

Status from this message: The following commit has been merged into the objtool/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4vmlinux.lds: Fix TEXT_MAIN to include .text.start and friendsinclude/asm-generic/vmlinux.lds.h+12 -110 replies
2/4media: atomisp: Fix startup() section placement with -ffunction-sectionsdrivers/staging/media/atomisp/i2c/atomisp-ov2722.c+3 -33 replies
3/4drivers/xen/xenbus: Fix split() section placement with AutoFDOdrivers/xen/xenbus/xenbus_xs.c+2 -20 replies
4/4objtool: Warn on functions with ambiguous -ffunction-sections section namesinclude/asm-generic/vmlinux.lds.h tools/objtool/Documentation/objtool.txt tools/objtool/check.c+55 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] objtool: Fix some -ffunction-sections edge cases

Fix some more fallout from commit 1ba9f8979426 ("vmlinux.lds: Unify TEXT_MAIN, DATA_MAIN, and related macros").

For tip/objtool/core.

Josh Poimboeuf (4):
vmlinux.lds: Fix TEXT_MAIN to include .text.start and friends
media: atomisp: Fix startup() section placement with
-ffunction-sections
drivers/xen/xenbus: Fix split() section placement with AutoFDO
objtool: Warn on functions with ambiguous -ffunction-sections section
names

 .../media/atomisp/i2c/atomisp-ov2722.c        |  6 +--
 drivers/xen/xenbus/xenbus_xs.c                |  4 +-
 include/asm-generic/vmlinux.lds.h             | 38 +++++++++++++------
 tools/objtool/Documentation/objtool.txt       |  7 ++++
 tools/objtool/check.c                         | 33 ++++++++++++++++
 5 files changed, 72 insertions(+), 16 deletions(-)
Signature · 1 line
2.51.1