Changeset e1c0260 in mainline for uspace/srv/loader/interp.S


Ignore:
Timestamp:
2012-07-30T17:33:21Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e3b052d
Parents:
b553acc
Message:

improve loader .interp fix

  • suppress the assembler warning by setting @progbits on the .interp section
  • suppress the linker warning by putting the .interp section additionally into the "text" segment
  • use the same ATSIGN convetion as the kernel makefiles use (for consistency)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/interp.S

    rb553acc re1c0260  
    55#
    66
    7 #ifdef UARCH_arm32
    8 #define AT_NOTE %note
    9 #else
    10 #define AT_NOTE @note
     7#if ((defined(UARCH_abs32le)) && (defined(COMPILER_gcc_cross)) \
     8    && (defined(CROSS_TARGET_arm32)))
     9        #define ATSIGN(arg)  % ## arg
    1110#endif
    1211
    13 .section .interp, "a", AT_NOTE
     12#ifdef UARCH_arm32
     13        #define ATSIGN(arg)  % ## arg
     14#endif
     15
     16#ifndef ATSIGN
     17        #define ATSIGN(arg)  @ ## arg
     18#endif
     19
     20.section .interp, "a", ATSIGN(progbits)
    1421        .string "kernel"
Note: See TracChangeset for help on using the changeset viewer.