Skip to content

Commit

Permalink
sol2.h (NM_FLAGS): Define.
Browse files Browse the repository at this point in the history
	* config/sol2.h (NM_FLAGS): Define.
	* doc/tm.texi.in (Macros for Initialization, NM_FLAGS): Document.
	* doc/tm.texi: Update.

From-SVN: r166811
  • Loading branch information
rorth committed Nov 16, 2010
1 parent 431f321 commit 3e794bf
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
6 changes: 6 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2010-11-16 Rainer Orth <[email protected]>

* config/sol2.h (NM_FLAGS): Define.
* doc/tm.texi.in (Macros for Initialization, NM_FLAGS): Document.
* doc/tm.texi: Update.

2010-11-16 Nick Clifton <[email protected]>

* config/v850/v850.md (maddsf4): Rename to fmasf4 and use fma
Expand Down
4 changes: 4 additions & 0 deletions gcc/config/sol2.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ along with GCC; see the file COPYING3. If not see
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 0

/* collect2.c can only parse GNU nm -n output. Solaris nm needs -png to
produce the same format. */
#define NM_FLAGS "-png"

#define STDC_0_IN_SYSTEM_HEADERS 1

/*
Expand Down
12 changes: 10 additions & 2 deletions gcc/doc/tm.texi
Original file line number Diff line number Diff line change
Expand Up @@ -8431,16 +8431,24 @@ part of a cross compiler always uses @command{nm} for the target machine.
Define this macro as a C string constant containing the file name to use
to execute @command{nm}. The default is to search the path normally for
@command{nm}.
@end defmac

@defmac NM_FLAGS
@command{collect2} calls @command{nm} to scan object files for static
constructors and destructors and LTO info. By default, @option{-n} is
passed. Define @code{NM_FLAGS} to a C string constant if other options
are needed to get the same output formut as GNU @command{nm -n}
produces.
@end defmac

If your system supports shared libraries and has a program to list the
dynamic dependencies of a given library or executable, you can define
these macros to enable support for running initialization and
termination functions in shared libraries:
@end defmac

@defmac LDD_SUFFIX
Define this macro to a C string constant containing the name of the program
which lists dynamic dependencies, like @command{"ldd"} under SunOS 4.
which lists dynamic dependencies, like @command{ldd} under SunOS 4.
@end defmac

@defmac PARSE_LDD_OUTPUT (@var{ptr})
Expand Down
12 changes: 10 additions & 2 deletions gcc/doc/tm.texi.in
Original file line number Diff line number Diff line change
Expand Up @@ -8405,16 +8405,24 @@ part of a cross compiler always uses @command{nm} for the target machine.
Define this macro as a C string constant containing the file name to use
to execute @command{nm}. The default is to search the path normally for
@command{nm}.
@end defmac

@defmac NM_FLAGS
@command{collect2} calls @command{nm} to scan object files for static
constructors and destructors and LTO info. By default, @option{-n} is
passed. Define @code{NM_FLAGS} to a C string constant if other options
are needed to get the same output formut as GNU @command{nm -n}
produces.
@end defmac

If your system supports shared libraries and has a program to list the
dynamic dependencies of a given library or executable, you can define
these macros to enable support for running initialization and
termination functions in shared libraries:
@end defmac

@defmac LDD_SUFFIX
Define this macro to a C string constant containing the name of the program
which lists dynamic dependencies, like @command{"ldd"} under SunOS 4.
which lists dynamic dependencies, like @command{ldd} under SunOS 4.
@end defmac

@defmac PARSE_LDD_OUTPUT (@var{ptr})
Expand Down

0 comments on commit 3e794bf

Please sign in to comment.