CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2026/10/27 16:30:56
Modified files:
lang/gcc/16 : Makefile
lang/gcc/16/patches: patch-gcc_config_rs6000_openbsd64_h
Removed files:
lang/gcc/16/patches: patch-gcc_tree-vect-loop_cc
Log message:
lang/gcc/16: stop putting jump tables in the text section on powerpc64
>From Brad Smith, original message:
The OpenBSD powerpc64 target header defined JUMP_TABLES_IN_TEXT_SECTION,
which emits switch jump tables inline in .text. OpenBSD maps text
execute-only, so code that loads from a jump table faults. This showed
up as NumPy crashing on import on powerpc64.
Drop the override so jump tables go in .rodata like other targets.
While here, also remove a powerpc64 build workaround in tree-vect-loop.cc
that is no longer necessary.