Both ld and gold support the option, but their manual page don't mention it existing.
I don't see --gdb-index support in normal ld?
gold's manpage (generated by help2man) does mention --gdb-index.