Changeset b2ba418 in mainline


Ignore:
Timestamp:
2012-07-28T05:33:49Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
56ba2b9, d1e580a, f9c3ef44
Parents:
d30b14f
Message:

The .interp section needs to be both allocable and either @note or @progbits
in order not to be stripped of strings for some targets with newer linkers.

Location:
uspace/srv/loader
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rd30b14f rb2ba418  
    4444GENERIC_SOURCES = \
    4545        main.c \
    46         interp.s
     46        interp.S
    4747
    4848SOURCES = \
  • uspace/srv/loader/interp.S

    rd30b14f rb2ba418  
    44# the program loader.
    55#
    6 .section .interp , ""
     6
     7#ifdef UARCH_arm32
     8#define AT_NOTE %note
     9#else
     10#define AT_NOTE @note
     11#endif
     12
     13.section .interp, "a", AT_NOTE
    714        .string "kernel"
Note: See TracChangeset for help on using the changeset viewer.