https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95154
--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- The problem is that when output_constant processes a FDESC_EXPR it calls ASM_OUTPUT_FDESC, which doesn't do weak processing (it doesn't call assemble_external).