> We need to pass the mode of the actual datum we would put in the TOC to > the use_toc_relative_ref function, not the mode of its address.
Right, but this mode is not "mode", the TOC contains only Pmode entries if the special constant pool is excluded. -- Eric Botcazou