Changeset 2149


Ignore:
Timestamp:
Jan 25, 2011, 9:55:42 AM (4 years ago)
Author:
wmb
Message:

Reverted change to inflate.c introduced by r2097. Without the "section text_inflate" attribute on the inflate() function, the GCC optimizer moves code so that huft_build() appears first in the file. OFW expects inflate() to be at the beginning of the image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • forth/wrapper/zip/inflate.c

    r2119 r2149  
    166166 */ 
    167167int 
    168 inflate(struct workspace *wsptr, int nohdr, u_char* clear, u_char *compr); 
     168inflate(struct workspace *wsptr, int nohdr, u_char* clear, u_char *compr) __attribute__((section ("text_inflate"))); 
    169169 
    170170int 
Note: See TracChangeset for help on using the changeset viewer.