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

Josh Poimboeuf posted 6 patches 1 week, 4 days ago
.../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
[PATCH 0/6] objtool: More -ffunction-sections fixes
Posted by Josh Poimboeuf 1 week, 4 days ago
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

-- 
2.51.1
Re: [PATCH 0/6] objtool: More -ffunction-sections fixes
Posted by Greg Kroah-Hartman 1 week, 3 days ago
On Thu, Nov 20, 2025 at 12:14:15PM -0800, Josh Poimboeuf wrote:
> 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"

For the tty changes:

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>