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.

54 lines
2.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/gcc/gcc33/protector-hotfix.diff
  9. # ROCK Linux is Copyright (C) 1998 - 2006 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. --- ./protector.dif.orig 2005-12-12 18:08:37.000000000 +0100
  20. +++ ./protector.dif 2005-12-12 18:09:04.000000000 +0100
  21. @@ -573,24 +573,23 @@
  22. /* P comes after Q; combine P into Q. */
  23. q->size += p->size;
  24. *************** put_reg_into_stack (function, reg, type,
  25. -*** 1497,1503 ****
  26. - new = func->x_parm_reg_stack_loc[regno];
  27. +*** 1513,1518 ****
  28. if (new == 0)
  29. -! new = assign_stack_local_1 (decl_mode, GET_MODE_SIZE (decl_mode), 0, func);
  30. +! new = assign_stack_local_1 (decl_mode, GET_MODE_SIZE (decl_mode),
  31. +! consecutive_p ? -2 : 0, func);
  32. PUT_CODE (reg, MEM);
  33. - PUT_MODE (reg, decl_mode);
  34. ---- 1512,1520 ----
  35. - new = func->x_parm_reg_stack_loc[regno];
  36. +--- 1513,1521 ----
  37. if (new == 0)
  38. ! new = function ?
  39. -! assign_stack_local_1 (decl_mode, GET_MODE_SIZE (decl_mode), 0, func):
  40. -! assign_stack_local_for_pseudo_reg (decl_mode, GET_MODE_SIZE (decl_mode), 0);
  41. +! assign_stack_local_1 (decl_mode, GET_MODE_SIZE (decl_mode),
  42. +! consecutive_p ? -2 : 0, func) :
  43. +! assign_stack_local_for_pseudo_reg (decl_mode, GET_MODE_SIZE (decl_mode),
  44. +! consecutive_p ? -2 : 0);
  45. PUT_CODE (reg, MEM);
  46. - PUT_MODE (reg, decl_mode);
  47. *************** instantiate_virtual_regs_1 (loc, object,
  48. *** 3961,3967 ****
  49. constant with that register. */