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
3.1 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/gcc32/protector-docs.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./gcc/doc/gcc.1.orig 2002-11-19 19:17:19.000000000 +0100
  20. +++ ./gcc/doc/gcc.1 2003-01-02 16:08:53.000000000 +0100
  21. @@ -687,8 +687,8 @@
  22. \&\-fno-common \-fno-ident \-fno-gnu-linker
  23. \&\-fpcc-struct-return \-fpic \-fPIC
  24. \&\-freg-struct-return \-fshared-data \-fshort-enums
  25. -\&\-fshort-double \-fshort-wchar \-fvolatile
  26. -\&\-fvolatile-global \-fvolatile-static
  27. +\&\-fshort-double \-fstack-protector \-fshort-wchar
  28. +\&\-fvolatile \-fvolatile-global \-fvolatile-static
  29. \&\-fverbose-asm \-fpack-struct \-fstack-check
  30. \&\-fstack-limit-register=\fR\fIreg\fR \fB\-fstack-limit-symbol=\fR\fIsym\fR
  31. \&\fB\-fargument-alias \-fargument-noalias
  32. @@ -8954,6 +8954,12 @@
  33. instructions to throw exceptions, i.e. memory references or floating
  34. point instructions. It does not allow exceptions to be thrown from
  35. arbitrary signal handlers such as \f(CW\*(C`SIGALRM\*(C'\fR.
  36. +.Ip "\fB\-fstack-protector\fR" 4
  37. +.IX Item "-fstack-protector"
  38. +Enable the Stack-Smashing Protector (
  39. +.B http://www.trl.ibm.com/projects/security/ssp/
  40. +). This option is only available in ROCK Linux (and probably
  41. +some other distributions). It's not a standard GCC option.
  42. .Ip "\fB\-funwind-tables\fR" 4
  43. .IX Item "-funwind-tables"
  44. Similar to \fB\-fexceptions\fR, except that it will just generate any needed
  45. --- ./gcc/doc/invoke.texi.orig 2002-10-29 17:35:04.000000000 +0100
  46. +++ ./gcc/doc/invoke.texi 2003-01-02 16:12:11.000000000 +0100
  47. @@ -676,7 +676,7 @@
  48. -fno-common -fno-ident -fno-gnu-linker @gol
  49. -fpcc-struct-return -fpic -fPIC @gol
  50. -freg-struct-return -fshared-data -fshort-enums @gol
  51. --fshort-double -fshort-wchar -fvolatile @gol
  52. +-fshort-double -fstack-protector -fshort-wchar -fvolatile @gol
  53. -fvolatile-global -fvolatile-static @gol
  54. -fverbose-asm -fpack-struct -fstack-check @gol
  55. -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol
  56. @@ -9721,6 +9721,14 @@
  57. it.
  58. @table @gcctabopt
  59. +
  60. +@item -fstack-protector
  61. +@opindex fstack-protector
  62. +Enable the Stack-Smashing Protector
  63. +(http://www.trl.ibm.com/projects/security/ssp/).
  64. +This option is only available in ROCK Linux (and probably
  65. +some other distributions). It's not a standard GCC option.
  66. +
  67. @item -fexceptions
  68. @opindex fexceptions
  69. Enable exception handling. Generates extra code needed to propagate