Same as @code{TARGET_D_CPU_TARGET_INFO}, but is used for keys relating to
the target operating system.
@end deftypefn
+@c hook-end
@deftypevr {D Target Hook} {const char *} TARGET_D_MINFO_SECTION
+@c hook-start:TARGET_D_MINFO_SECTION
Contains the name of the section in which module info references should be
- placed. This section is expected to be bracketed by two symbols to indicate
- the start and end address of the section, so that the runtime library can
- collect all modules for each loaded shared library and executable. The
- default value of @code{NULL} disables the use of sections altogether.
+ placed. By default, the compiler puts all module info symbols in the
+ @code{"minfo"} section. Define this macro to override the string if a
+ different section name should be used. This section is expected to be
+ bracketed by two symbols @code{TARGET_D_MINFO_SECTION_START} and
+ @code{TARGET_D_MINFO_SECTION_END} to indicate the start and end address of
+ the section, so that the runtime library can collect all modules for each
+ loaded shared library and executable. Setting the value to @code{NULL}
+ disables the use of sections for storing module info altogether.
@end deftypevr
+@c hook-end
- @deftypevr {D Target Hook} {const char *} TARGET_D_MINFO_START_NAME
+ @deftypevr {D Target Hook} {const char *} TARGET_D_MINFO_SECTION_START
+@c hook-start:TARGET_D_MINFO_START_NAME
If @code{TARGET_D_MINFO_SECTION} is defined, then this must also be defined
as the name of the symbol indicating the start address of the module info
section
@end deftypevr
+@c hook-end
- @deftypevr {D Target Hook} {const char *} TARGET_D_MINFO_END_NAME
+ @deftypevr {D Target Hook} {const char *} TARGET_D_MINFO_SECTION_END
+@c hook-start:TARGET_D_MINFO_END_NAME
If @code{TARGET_D_MINFO_SECTION} is defined, then this must also be defined
as the name of the symbol indicating the end address of the module info
section