Skip to content

objtool: More -ffunction-sections fixes

Josh Poimboeuf 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 Latest6 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6serial: icom: Fix namespace collision and startup() section placement with -ffunction-sectionsdrivers/tty/serial/icom.c+4 -40 replies
2/6media: atomisp: gc2235: Fix namespace collision and startup() section placement with -ffunction-sectionsdrivers/staging/media/atomisp/i2c/atomisp-gc2235.c+2 -21 reply
3/6tty: amiserial: Fix namespace collision and startup() section placement with -ffunction-sectionsdrivers/tty/amiserial.c+7 -70 replies
4/6tty: synclink_gt: Fix namespace collision and startup() section placement with -ffunction-sectionsdrivers/tty/synclink_gt.c+10 -100 replies
5/6kbuild: Check for functions with ambiguous -ffunction-sections section namesinclude/asm-generic/vmlinux.lds.h scripts/Makefile.vmlinux_o scripts/check-function-names.sh+30 -10 replies
6/6Revert "objtool: Warn on functions with ambiguous -ffunction-sections section names"tools/objtool/Documentation/objtool.txt tools/objtool/check.c+0 -400 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-HartmanHans de Goede
SeriesA-b
1/6
2/6R-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] objtool: More -ffunction-sections fixes

For tip/objtool/core.

- Patches 1-4: Rename functions

- Patches 5-6: Move the check out of objtool

Josh Poimboeuf (6):
serial: icom: Fix namespace collision and startup() section placement
with -ffunction-sections
media: atomisp: gc2235: Fix namespace collision and startup() section
placement with -ffunction-sections
tty: amiserial: Fix namespace collision and startup() section
placement with -ffunction-sections
tty: synclink_gt: Fix namespace collision and startup() section
placement with -ffunction-sections
kbuild: Check for functions with ambiguous -ffunction-sections section
names
Revert "objtool: Warn on functions with ambiguous -ffunction-sections
section names"

 .../media/atomisp/i2c/atomisp-gc2235.c        |  4 +--
 drivers/tty/amiserial.c                       | 14 ++++----
 drivers/tty/serial/icom.c                     |  8 ++---
 drivers/tty/synclink_gt.c                     | 20 +++++------
 include/asm-generic/vmlinux.lds.h             |  2 +-
 scripts/Makefile.vmlinux_o                    |  4 +++
 scripts/check-function-names.sh               | 25 ++++++++++++++
 tools/objtool/Documentation/objtool.txt       |  7 ----
 tools/objtool/check.c                         | 33 -------------------
 9 files changed, 53 insertions(+), 64 deletions(-)
 create mode 100755 scripts/check-function-names.sh
Signature · 1 line
2.51.1