pa.md bugfix

Jeffrey A Law law@redhat.com
Mon Jan 29 21:18:00 GMT 2001


  In message < 200101272145.QAA24380@hiauly1.hia.nrc.ca >you write:
  > Here is a revised patch which should apply correctly with the current
  > source.  Bootstrapped and checked under hpux 10.20.
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2001-01-27  John David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	* pa.md (return): Revise comment for trivial return.
  > 	(return_internal): Non-trivial return pattern for non-PIC code.
  > 	(return_internal_pic): Non-trivial return pattern for PIC code.
  > 	It uses the PIC register to ensure it is restored after
  > 	function calls.
  > 	(epilogue): Generate appropriate return for PIC and non-PIC code.
Thanks.  I installed this with a minor change.    Specifically 
return_internal verifies that flag_pic is zero and return_internal_pic
verifies that flag_pic is nonzero.

jeff




More information about the Gcc-bugs mailing list