This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC PATCH 0/6] some vxworks/powerpc patches


These are some of the patches I'm currently applying to get a full C
and C++ compiler to work for powerpc-wrs-vxworks (for vxworks
5.5). With these, and a few more, I have ZCX, static
constuctors/destructors and throwing across modules working. There are
many vxworks variants out there, so I'm not sure how to avoid breaking
things for others. I don't really like the crti hack, but I don't have
any better ideas (I can probably patch the loader to recognize even
symbols of type unknown, but that won't benefit anybody else, so I'm
trying to fix problems in gcc whenever possible).

Rasmus Villemoes (6):
  vxworks: add target/h/wrn/coreip to the set of system include paths
  libgcc: add crt{begin,end} for powerpc-wrs-vxworks target
  vxworks: enable use of .init_array/.fini_array for cdtors
  powerpc/vxworks: [hack] add crti.o file
  powerpc/vxworks: add {START,END}FILE_SPEC for
    HAVE_INITFINI_ARRAY_SUPPORT
  vxworks: don't define vxworks_asm_out_constructor when using
    .init_array

 gcc/config/rs6000/vxworks.h         | 13 +++++++++++--
 gcc/config/vxworks.c                |  9 +++++++--
 gcc/config/vxworks.h                | 20 ++++++++++++++------
 libgcc/config.host                  |  3 ++-
 libgcc/config/rs6000/t-vxworks      |  5 +++++
 libgcc/config/rs6000/vxworks-crti.S | 10 ++++++++++
 6 files changed, 49 insertions(+), 11 deletions(-)
 create mode 100644 libgcc/config/rs6000/t-vxworks
 create mode 100644 libgcc/config/rs6000/vxworks-crti.S

-- 
2.15.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]