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