This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Minor PA patches



The change to pa-64.h fixes a trivial build warning.  text_section is now
declared by output.h, so the one in pa-64.h was redundant anyway.  I just
removed it.

The change to pa.md fixes a bootstrap error for PA64 after my last change
(word_mode is DImode for PA64, so requiring the use to be in SImode was
wrong).

        * pa-64.h (text_section): Remove declaration.

        * pa.md (return_internal): Remove mode on PIC register use.
Index: pa-64.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/pa/pa-64.h,v
retrieving revision 1.4
diff -c -3 -p -r1.4 pa-64.h
*** pa-64.h	2000/11/29 04:57:21	1.4
--- pa-64.h	2001/01/26 18:32:20
*************** do {  \
*** 225,232 ****
  
  #define READONLY_DATA_SECTION() const_section ()
  
- extern void text_section ();
- 
  #define CONST_SECTION_FUNCTION						\
  void									\
  const_section ()							\
--- 225,230 ----
Index: pa.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/pa/pa.md,v
retrieving revision 1.77
diff -c -3 -p -r1.77 pa.md
*** pa.md	2001/01/23 03:52:54	1.77
--- pa.md	2001/01/26 18:32:36
***************
*** 5490,5496 ****
  ;; code but the real world cost should be unmeasurable.
  (define_insn "return_internal"
    [(return)
!    (use (match_operand:SI 0 "register_operand" "r"))
     (use (reg:SI 2))
     (const_int 1)]
    "true_regnum (operands[0]) == PIC_OFFSET_TABLE_REGNUM"
--- 5541,5547 ----
  ;; code but the real world cost should be unmeasurable.
  (define_insn "return_internal"
    [(return)
!    (use (match_operand 0 "register_operand" "r"))
     (use (reg:SI 2))
     (const_int 1)]
    "true_regnum (operands[0]) == PIC_OFFSET_TABLE_REGNUM"




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]