Commit 81e5bc3d by John David Anglin Committed by John David Anglin

* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.

From-SVN: r58863
parent 021fa809
2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
2002-11-06 Alexandre Oliva <aoliva@redhat.com>
* config/mips/mips.md (call_value_multiple_internal2): Use dla for
......
......@@ -135,6 +135,21 @@ do { \
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{!shared: %{!symbolic: crt0.o%s}}"
/* Since we are not yet using .init and .fini sections, we need to
explicitly arrange to run the global constructors and destructors.
HPUX 11 has ldd and we use it to determine the dependencies of
dynamic objects. It might be possible to use the ld options for
running initializers and terminators and thereby avoid the necessity
of running ldd, but unfortunately the options are different for
the two linkers. */
#define LDD_SUFFIX "/usr/ccs/bin/ldd"
/* Skip to first '>' then advance to '/' at the beginning of the filename. */
#define PARSE_LDD_OUTPUT(PTR) \
do { \
while (*PTR != '>') PTR++; \
while (*PTR != '/') PTR++; \
} while (0)
#endif
/* Switch into a generic section. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment