patch-gcc_config_pa_pa-openbsd_h 875 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-gcc_config_pa_pa-openbsd_h,v 1.1.1.1 2016/09/04 16:20:19 pascal Exp $
  2. --- gcc/config/pa/pa-openbsd.h.orig Thu Jan 2 23:23:26 2014
  3. +++ gcc/config/pa/pa-openbsd.h Sat Jul 9 22:26:21 2016
  4. @@ -138,14 +138,15 @@ along with GCC; see the file COPYING3. If not see
  5. %{shared:-shared} %{R*} \
  6. %{static:-Bstatic} \
  7. %{!static:-Bdynamic} \
  8. + %{rdynamic:-export-dynamic} \
  9. %{assert*} \
  10. -dynamic-linker /usr/libexec/ld.so"
  11. #undef STARTFILE_SPEC
  12. #define STARTFILE_SPEC "\
  13. - %{!shared: %{pg:gcrt0%O%s} %{!pg:%{p:gcrt0%O%s} %{!p:crt0%O%s}} \
  14. - crtbegin%O%s} %{shared:crtbeginS%O%s}"
  15. -
  16. + %{!shared: %{pg:gcrt0%O%s} %{!pg:%{p:gcrt0%O%s} \
  17. + %{!p:%{!static:crt0%O%s} %{static:%{nopie:crt0%O%s} \
  18. + %{!nopie:rcrt0%O%s}}}} crtbegin%O%s} %{shared:crtbeginS%O%s}"
  19. #undef ENDFILE_SPEC
  20. #define ENDFILE_SPEC "%{!shared:crtend%O%s} %{shared:crtendS%O%s}"