Changeset 321a8e6 in mainline


Ignore:
Timestamp:
2016-02-20T18:01:33Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
91889d5
Parents:
805729b
Message:

ia32: Silence linker warnings during for dynamically linked builds

Location:
uspace/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/fibril.S

    r805729b r321a8e6  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <libarch/fibril_context.h>
    3031
    3132.text
    32 
    33 .global context_save
    34 .global context_restore
    3533
    3634## Save current CPU context
     
    3937# pointed by the 1st argument. Returns 1 in EAX.
    4038#
    41 context_save:
     39FUNCTION_BEGIN(context_save)
    4240        movl 0(%esp), %eax  # the caller's return %eip
    4341        movl 4(%esp), %edx  # address of the context variable to save context to
     
    5856        incl %eax
    5957        ret
     58FUNCTION_END(context_save)
    6059
    6160## Restore saved CPU context
     
    6463# pointed by the 1st argument. Returns 0 in EAX.
    6564#
    66 context_restore:
     65FUNCTION_BEGIN(context_restore)
    6766        movl 4(%esp), %eax  # address of the context variable to restore context from
    6867       
     
    8685        xorl %eax, %eax         # context_restore returns 0
    8786        ret
     87FUNCTION_END(context_restore)
    8888
  • uspace/lib/math/arch/ia32/src/cos.S

    r805729b r321a8e6  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <libarch/x87.h>
    3031
    3132.text
    3233
    33 .global cos_f64
    34 
    35 cos_f64:
     34FUNCTION_BEGIN(cos_f64)
    3635        # compute cosine (no stack frame)
    3736       
     
    6463       
    6564        ret
     65FUNCTION_END(cos_f64)
     66
  • uspace/lib/math/arch/ia32/src/sin.S

    r805729b r321a8e6  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <libarch/x87.h>
    3031
    3132.text
    3233
    33 .global sin_f64
    34 
    35 sin_f64:
     34FUNCTION_BEGIN(sin_f64)
    3635        # compute sine (no stack frame)
    3736       
     
    6463       
    6564        ret
     65FUNCTION_END(sin_f64)
     66
  • uspace/lib/math/arch/ia32/src/trunc.S

    r805729b r321a8e6  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <libarch/x87.h>
    3031
    3132.text
    3233
    33 .global trunc_f64
    34 
    35 trunc_f64:
     34FUNCTION_BEGIN(trunc_f64)
    3635        pushl %ebp
    3736        movl %esp, %ebp
     
    6160        leave
    6261        ret
     62FUNCTION_END(trunc_f64)
     63
Note: See TracChangeset for help on using the changeset viewer.