Skip to content

Commit

Permalink
Fix missing assemble_external in ASM_OUTPUT_FDESC
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andreas-schwab committed Jun 4, 2020
1 parent 0ecf522 commit 9b4e77e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcc/config/ia64/ia64.h
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,7 @@ do { \
do { \
if ((PART) == 0) \
{ \
assemble_external (DECL); \
if (TARGET_ILP32) \
fputs ("\tdata8.ua @iplt(", FILE); \
else \
Expand Down

0 comments on commit 9b4e77e

Please sign in to comment.