diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90d5ef828caacf46d61abca2c02a119e0c23e38f..6bfa7adb74a4c3b8a0f9a75debf5a8fe01153179 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-03  John David Anglin  <dave.anglin@nrc.cnrc.gc.ca>
+
+	PR testsuite/37325
+	* config/pa/pa64-hpux.h (ASM_OUTPUT_EXTERNAL_REAL): Call
+	default_elf_asm_output_external.
+
 2008-09-03  Jeff Law  <law@redhat.com>
 
 	* h8300.c (expand_a_shift): Avoid invalid RTL sharing.
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index bad5b41c2e3d3c572d3be92e94261c325895452d..fa5ec3a4f1e4db14b833a6ee1d9926da6fc794c8 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -1,7 +1,7 @@
 /* Definitions of target machine for GNU compiler, for HPs running
    HPUX using the 64bit runtime model.
-   Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2007 Free Software Foundation,
-   Inc.
+   Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2007, 2008
+   Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -217,6 +217,7 @@ do {								\
     ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "function");		\
   else								\
     ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");		\
+  default_elf_asm_output_external (FILE, DECL, NAME);		\
 } while (0)
 
 /* We need set the type for external libcalls.  Also note that not all