https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549
--- Comment #15 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Georg-Johann Lay from comment #14) > Would be great if there were additional target hooks: > > 1) To put vtables in a non-generic address-space (PR43745). We actually already have such a hook :-) addr_space_t TARGET_ADDR_SPACE_FOR_ARTIFICIAL_RODATA (tree type, enum artificial_rodata purpose) https://gcc.gnu.org/onlinedocs/gccint/Named-Address-Spaces.html#index-TARGET_005fADDR_005fSPACE_005fFOR_005fARTIFICIAL_005fRODATA All the c++ front has to do is to invoke it when it generates vtables.
