> Why does this not fail on darwin? It can reach this code afaics, and > it has ASM_OUTPUT_SPECIAL_POOL_ENTRY_P always 0.
Probably because Darwin doesn't use the TOC at all. > Use "mode" instead of "Pmode" here? No, "mode" is the mode of the MEM, not that of the SYMBOL_REF. -- Eric Botcazou