re PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when application to...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Wed, 21 May 2003 22:00:58 +0000 (22:00 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 21 May 2003 22:00:58 +0000 (22:00 +0000)
commitf48758e4ee440a8866485fad7c63f4f2f2e1dbb0
treefa47d879a76304b6366e8da00594921f81626821
parent7a29f483cf7f68eedb4ac1f308b083bf3300cf56
re PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when application to be profiled is linked with shared libgcc)

PR target/6428
* pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
option is used without `-static'.
* pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
* pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
* g++.old-deja/g++.law/profile1.C (dg-options): Add -static to options
for hppa*-hp-hpux*.
* gcc.dg/20021014-1.c (dg-options): Likewise.
* gcc.dg/nest.c (dg-options): Likewise.

From-SVN: r67068
gcc/ChangeLog
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-hpux11.h
gcc/config/pa/pa64-hpux.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.law/profile1.C
gcc/testsuite/gcc.dg/20021014-1.c
gcc/testsuite/gcc.dg/nest.c