aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-05-15 17:38:30 +0200
committerAndreas Schwab <schwab@suse.de>2020-06-04 09:56:38 +0200
commit9b4e77e807e0099c3cfbf9c5b0c9e4154b9cb7a0 (patch)
treecc726f6ea4ebbaaa3737f2c8a5c2bcd340e0760d /gcc
parent0ecf5229723ec99e6b5099dd68d48bd925da6b0d (diff)
downloadgcc-9b4e77e807e0099c3cfbf9c5b0c9e4154b9cb7a0.zip
gcc-9b4e77e807e0099c3cfbf9c5b0c9e4154b9cb7a0.tar.gz
gcc-9b4e77e807e0099c3cfbf9c5b0c9e4154b9cb7a0.tar.bz2
Fix missing assemble_external in ASM_OUTPUT_FDESC
When TARGET_VTABLE_USES_DESCRIPTORS is defined then function pointers in the vtable are output by ASM_OUTPUT_FDESC. The only current user of this is ia64, but its implementation of ASM_OUTPUT_FDESC lacks a call to assemble_external. Thus if there is no other reference to the function the weak declaration for it will be missing. PR target/95154 * config/ia64/ia64.h (ASM_OUTPUT_FDESC): Call assemble_external.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/ia64/ia64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 8462535..d5acc62 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -963,6 +963,7 @@ do { \
do { \
if ((PART) == 0) \
{ \
+ assemble_external (DECL); \
if (TARGET_ILP32) \
fputs ("\tdata8.ua @iplt(", FILE); \
else \