this causes error in ld.gold but not in ld. this patch makes ld.gold ignore that error to match ld behaviour.