Ticket #29154: i386_static.diff

File i386_static.diff, 1.4 KB (added by howarth@…, 13 years ago)

i386_static.diff patch required to build dragonegg

  • gcc/config/i386/i386.c

    old new  
    49914991   case, we return the original mode and warn ABI change if CUM isn't
    49924992   NULL.  */
    49934993
    4994 static enum machine_mode
     4994enum machine_mode type_natural_mode (const_tree, CUMULATIVE_ARGS *);
     4995enum machine_mode
    49954996type_natural_mode (const_tree type, CUMULATIVE_ARGS *cum)
    49964997{
    49974998  enum machine_mode mode = TYPE_MODE (type);
     
    51225123   See the x86-64 PS ABI for details.
    51235124*/
    51245125
    5125 static int
     5126int classify_argument (enum machine_mode, const_tree,
     5127                       enum x86_64_reg_class [MAX_CLASSES], int);
     5128int
    51265129classify_argument (enum machine_mode mode, const_tree type,
    51275130                   enum x86_64_reg_class classes[MAX_CLASSES], int bit_offset)
    51285131{
     
    55035506
    55045507/* Examine the argument and return set number of register required in each
    55055508   class.  Return 0 iff parameter should be passed in memory.  */
    5506 static int
     5509int examine_argument (enum machine_mode, const_tree, int, int *, int *);
     5510int
    55075511examine_argument (enum machine_mode mode, const_tree type, int in_return,
    55085512                  int *int_nregs, int *sse_nregs)
    55095513{
     
    61846188
    61856189/* Return true when TYPE should be 128bit aligned for 32bit argument passing
    61866190   ABI.  */
    6187 static bool
     6191bool contains_aligned_value_p (const_tree);
     6192bool
    61886193contains_aligned_value_p (const_tree type)
    61896194{
    61906195  enum machine_mode mode = TYPE_MODE (type);