mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.6 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/gcc2/protector-docs.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. Add documentation (man and info) to protector.patch.
  23. --- ./gcc/gcc.1.orig Tue Oct 16 08:19:36 2001
  24. +++ ./gcc/gcc.1 Tue Oct 16 08:27:46 2001
  25. @@ -515,6 +515,7 @@
  26. \-fshared\-data
  27. \-fshort\-enums
  28. \-fshort\-double
  29. +\-fstack\-protector
  30. \-fvolatile
  31. \-fvolatile\-global
  32. \-fverbose\-asm
  33. @@ -3856,6 +3857,12 @@
  34. .B no\-\c
  35. \&\|' or adding
  36. it.
  37. +.TP
  38. +.B \-fstack\-protector
  39. +Enable the Stack-Smashing Protector (
  40. +.B http://www.trl.ibm.com/projects/security/ssp/
  41. +). This option is only available in ROCK Linux (and probably
  42. +some other distributions). It's not a standard GCC option.
  43. .TP
  44. .B \-fnonnull\-objects
  45. Assume that objects reached through references are not null
  46. --- ./gcc/invoke.texi.orig Tue Oct 16 08:38:25 2001
  47. +++ ./gcc/invoke.texi Tue Oct 16 08:38:17 2001
  48. @@ -421,8 +421,8 @@
  49. -fno-common -fno-ident -fno-gnu-linker
  50. -fpcc-struct-return -fpic -fPIC
  51. -freg-struct-return -fshared-data -fshort-enums
  52. --fshort-double -fvolatile -fvolatile-global -fvolatile-static
  53. --fverbose-asm -fpack-struct -fstack-check
  54. +-fshort-double -fstack-protector -fvolatile -fvolatile-global
  55. +-fvolatile-static -fverbose-asm -fpack-struct -fstack-check
  56. -fargument-alias -fargument-noalias
  57. -fargument-noalias-global
  58. -fleading-underscore
  59. @@ -6147,6 +6147,12 @@
  60. it.
  61. @table @code
  62. +@item -fstack-protector
  63. +Enable the Stack-Smashing Protector
  64. +(http://www.trl.ibm.com/projects/security/ssp/).
  65. +This option is only available in ROCK Linux (and probably
  66. +some other distributions). It's not a standard GCC option.
  67. +
  68. @item -fexceptions
  69. Enable exception handling. Generates extra code needed to propagate
  70. exceptions. For some targets, this implies generation of frame unwind