patch-csu_linux_crtend_c 887 B

1234567891011121314151617181920212223242526272829303132
  1. --- pcc-libs-1.0.0.orig/csu/linux/crtend.c 2009-08-17 01:07:07.000000000 +0200
  2. +++ pcc-libs-1.0.0/csu/linux/crtend.c 2011-04-12 08:36:48.951412645 +0200
  3. @@ -1,4 +1,4 @@
  4. -/* $Id: crtend.c,v 1.3 2009/08/16 23:07:07 gmcgarry Exp $ */
  5. +/* $Id: crtend.c,v 1.4 2011/04/12 04:44:19 gmcgarry Exp $ */
  6. /*-
  7. * Copyright (c) 2008 Gregory McGarry <g.mcgarry@ieee.org>
  8. *
  9. @@ -17,7 +17,7 @@
  10. #include "common.h"
  11. -asm( " .section .ctors\n"
  12. +asm( " .section .ctors,\"aw\",@progbits\n"
  13. #ifdef __x86_64__
  14. " .quad 0\n"
  15. #else
  16. @@ -25,7 +25,7 @@ asm( " .section .ctors\n"
  17. #endif
  18. );
  19. -asm( " .section .dtors\n"
  20. +asm( " .section .dtors,\"aw\",@progbits\n"
  21. #ifdef __x86_64__
  22. " .quad 0\n"
  23. #else
  24. @@ -33,4 +33,4 @@ asm( " .section .dtors\n"
  25. #endif
  26. );
  27. -IDENT("$Id: crtend.c,v 1.3 2009/08/16 23:07:07 gmcgarry Exp $");
  28. +IDENT("$Id: crtend.c,v 1.4 2011/04/12 04:44:19 gmcgarry Exp $");