Changeset 2eadda9 in mainline for uspace/lib/c/arch/arm32/src/entry.S


Ignore:
Timestamp:
2018-07-11T17:45:30Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99d3123
Parents:
c2c4127
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:08:12)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-11 17:45:30)
Message:

Remove undefined references to main program from shared libc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/arm32/src/entry.S

    rc2c4127 r2eadda9  
    2929#include <abi/asmtool.h>
    3030
    31 .section .init, "ax"
     31.text
    3232
    3333.org 0
     
    5151        sub fp, ip, #4
    5252
    53         # Pass pcb_ptr to __libc_main as the first argument (in r0)
     53        # Pass pcb_ptr to __c_start as the first argument (in r0)
    5454        mov r0, r1
    55         bl __libc_main
     55        bl __c_start
    5656
    5757.data
Note: See TracChangeset for help on using the changeset viewer.