root/trunk/binutils/binutils-2.15.94.0.2.2-gcc4-1.patch

Revision 1190, 1.8 KB (checked in by ken, 3 years ago)

binutils gcc4 patch for 6.1.1

  • binutils-2.

    Submitted By: Alexander E. Patrakov
    Date: 2005-10-10
    Initial Package Version: 2.15.94.0.2.2
    Upstream Status: Backport from 2.16.1
    Origin: Alexander E. Patrakov
    Description: Fixes compilation by gcc4 (e.g. from Fedora Core 4 hosts)
    
    old new  
    2425 
    2526extern const pseudo_typeS md_pseudo_table[]; 
    2627 
    27 /* JF moved this here from as.h under the theory that nobody except MACHINE.c 
    28    and write.c care about it anyway.  */ 
    29  
    30 struct relax_type 
    31 { 
    32   /* Forward reach. Signed number. > 0.  */ 
    33   long rlx_forward; 
    34   /* Backward reach. Signed number. < 0.  */ 
    35   long rlx_backward; 
    36  
    37   /* Bytes length of this address.  */ 
    38   unsigned char rlx_length; 
    39  
    40   /* Next longer relax-state.  0 means there is no 'next' relax-state.  */ 
    41   relax_substateT rlx_more; 
    42 }; 
    43  
    44 typedef struct relax_type relax_typeS; 
    45  
    4628extern const int md_reloc_size; /* Size of a relocation record.  */ 
    4729 
    4830char * md_atof (int, char *, int *); 
  • binutils-2.

    old new  
    397384/* Enough bits for address, but still an integer type. 
    398385   Could be a problem, cross-assembling for 64-bit machines.  */ 
    399386typedef addressT relax_addressT; 
     387 
     388struct relax_type 
     389{ 
     390  /* Forward reach. Signed number. > 0.  */ 
     391  offsetT rlx_forward; 
     392  /* Backward reach. Signed number. < 0.  */ 
     393  offsetT rlx_backward; 
     394 
     395  /* Bytes length of this address.  */ 
     396  unsigned char rlx_length; 
     397 
     398  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */ 
     399  relax_substateT rlx_more; 
     400}; 
     401 
     402typedef struct relax_type relax_typeS; 
    400403  
    401404/* main program "as.c" (command arguments etc).  */ 
    402405 
Note: See TracBrowser for help on using the browser.