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.

71 lines
2.5 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/gcc/gcc2/protector-docs.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Add documentation (man and info) to protector.patch.
  20. --- ./gcc/gcc.1.orig Tue Oct 16 08:19:36 2001
  21. +++ ./gcc/gcc.1 Tue Oct 16 08:27:46 2001
  22. @@ -515,6 +515,7 @@
  23. \-fshared\-data
  24. \-fshort\-enums
  25. \-fshort\-double
  26. +\-fstack\-protector
  27. \-fvolatile
  28. \-fvolatile\-global
  29. \-fverbose\-asm
  30. @@ -3856,6 +3857,12 @@
  31. .B no\-\c
  32. \&\|' or adding
  33. it.
  34. +.TP
  35. +.B \-fstack\-protector
  36. +Enable the Stack-Smashing Protector (
  37. +.B http://www.trl.ibm.com/projects/security/ssp/
  38. +). This option is only available in ROCK Linux (and probably
  39. +some other distributions). It's not a standard GCC option.
  40. .TP
  41. .B \-fnonnull\-objects
  42. Assume that objects reached through references are not null
  43. --- ./gcc/invoke.texi.orig Tue Oct 16 08:38:25 2001
  44. +++ ./gcc/invoke.texi Tue Oct 16 08:38:17 2001
  45. @@ -421,8 +421,8 @@
  46. -fno-common -fno-ident -fno-gnu-linker
  47. -fpcc-struct-return -fpic -fPIC
  48. -freg-struct-return -fshared-data -fshort-enums
  49. --fshort-double -fvolatile -fvolatile-global -fvolatile-static
  50. --fverbose-asm -fpack-struct -fstack-check
  51. +-fshort-double -fstack-protector -fvolatile -fvolatile-global
  52. +-fvolatile-static -fverbose-asm -fpack-struct -fstack-check
  53. -fargument-alias -fargument-noalias
  54. -fargument-noalias-global
  55. -fleading-underscore
  56. @@ -6147,6 +6147,12 @@
  57. it.
  58. @table @code
  59. +@item -fstack-protector
  60. +Enable the Stack-Smashing Protector
  61. +(http://www.trl.ibm.com/projects/security/ssp/).
  62. +This option is only available in ROCK Linux (and probably
  63. +some other distributions). It's not a standard GCC option.
  64. +
  65. @item -fexceptions
  66. Enable exception handling. Generates extra code needed to propagate
  67. exceptions. For some targets, this implies generation of frame unwind