gprof: Copy a simple test from glibc

Copy a simple gprof test from glibc to test the basic gprof functionality.

1. Tested natively on Linux/x86-64 and Linux/i686.
2. Tested for the x86_64-solaris cross target without cross-compiler.
3. Tested for the aarch64-linux-gnu cross target with cross-compiler.

	PR gprof/32764
	* Makefile.am (SUBDIRS): Add testsuite
	* configure.ac (AC_CONFIG_FILES): Removed.
	(AC_OUTPUT): Add Makefile testsuite/Makefile
	po/Makefile.in:po/Make-in.
	(AM_CONDITIONAL): Add NATIVE.
	* Makefile.in: Regenerated.
	* configure: Likewise.
	* testsuite/Makefile.am: New file.
	* testsuite/tst-gmon-gprof.sh: Likewise.
	* testsuite/tst-gmon.c: Likewise.
	* testsuite/Makefile.in: Generated.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
8 files changed