Changeset 556fc532 in mainline


Ignore:
Timestamp:
2007-08-08T14:43:29Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14e376c
Parents:
0368fb59
Message:

Fix sparc64 loader's pack script for use with gcc 4.2.1 by
avoiding pointer to int type casts so that the newer gcc doesn't emit a warning.
Due to the -Werror flags, such a warning would prevent a successful build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/pack

    r0368fb59 r556fc532  
    8383#define ${MACRO}_START ((void *) &${SYMBOL}_start)
    8484#define ${MACRO}_END ((void *) &${SYMBOL}_end)
    85 #define ${MACRO}_SIZE ((unsigned int) ${MACRO}_END - (unsigned int) ${MACRO}_START)" >> "$HEADER"
     85#define ${MACRO}_SIZE ((unsigned long) ${MACRO}_END - (unsigned long) ${MACRO}_START)" >> "$HEADER"
    8686       
    8787        "$OBJCOPY" -I binary -O elf64-sparc -B sparc --rename-section ".data=.${BASENAME}_image" "$TASK" "$OBJECT"
Note: See TracChangeset for help on using the changeset viewer.