Identify sections in vx-common.h
2019-12-30 Olivier Hainque <hainque@adacore.com> * config/vx-common.h: Minor reorganization and add sectioning comments. From-SVN: r279779
This commit is contained in:
parent
bd8efb667b
commit
4e6bcaa662
@ -1,3 +1,8 @@
|
||||
2019-12-30 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* config/vx-common.h: Minor reorganization and add
|
||||
sectioning comments.
|
||||
|
||||
2019-12-30 Doug Rupp <rupp@adacore.com>
|
||||
|
||||
* config/rs6000/vxworks.h (STARTFILE_PREFIX_SPEC): Define.
|
||||
|
@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||
along with GCC; see the file COPYING3. If not see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
/* ------------------------- Common SPEC strings ------------------------- */
|
||||
|
||||
/* Most of these will probably be overridden by subsequent headers. We
|
||||
undefine them here just in case, and define VXWORKS_ versions of each,
|
||||
to be used in port-specific vxworks.h. */
|
||||
@ -39,12 +41,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#define VXWORKS_ENDFILE_SPEC ""
|
||||
#define VXWORKS_CC1_SPEC ""
|
||||
|
||||
/* VxWorks cannot have dots in constructor labels, because it uses a
|
||||
mutant variation of collect2 that generates C code instead of
|
||||
assembly. Thus each constructor label must be a legitimate C
|
||||
symbol. FIXME: Have VxWorks use real collect2 instead. */
|
||||
#undef NO_DOLLAR_IN_LABEL
|
||||
#define NO_DOT_IN_LABEL
|
||||
/* ----------------------- Common type descriptions ----------------------- */
|
||||
|
||||
/* VxWorks uses wchar_t == unsigned short (UCS2) on all architectures. */
|
||||
#undef WCHAR_TYPE
|
||||
@ -58,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
|
||||
#undef WINT_TYPE_SIZE
|
||||
#define WINT_TYPE_SIZE 16
|
||||
|
||||
/* ---------------------- Debug and unwind info formats ------------------ */
|
||||
|
||||
/* Dwarf2 unwind info is supported, unless overriden by a request for a target
|
||||
specific format.
|
||||
|
||||
@ -83,6 +82,15 @@ along with GCC; see the file COPYING3. If not see
|
||||
#undef XCOFF_DEBUGGING_INFO
|
||||
#undef VMS_DEBUGGING_INFO
|
||||
|
||||
/* ------------------------ Misc configuration bits ---------------------- */
|
||||
|
||||
/* VxWorks cannot have dots in constructor labels, because it uses a
|
||||
mutant variation of collect2 that generates C code instead of
|
||||
assembly. Thus each constructor label must be a legitimate C
|
||||
symbol. FIXME: Have VxWorks use real collect2 instead. */
|
||||
#undef NO_DOLLAR_IN_LABEL
|
||||
#define NO_DOT_IN_LABEL
|
||||
|
||||
/* Kernel mode doesn't have ctors/dtors, but RTP mode does. */
|
||||
#define TARGET_HAVE_CTORS_DTORS false
|
||||
#define VXWORKS_OVERRIDE_OPTIONS /* empty */
|
||||
|
Loading…
Reference in New Issue
Block a user