The -mhp-ld switch is only recognized on hppa64*-*-* targets but that restriction is not documented in the description for -mhp-ld in extend.texi.
-- Summary: Documentation should say -mhp-ld is only for hppa64-*-*- * Product: gcc Version: unknown Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: hppa*-*-* GCC host triplet: hppa*-*-* GCC target triplet: hppa*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21841