/programs/develop/libraries/newlib/Makefile |
---|
17,7 → 17,7 |
crt/crt_amz.S \ |
crt/chkstk.S \ |
crt/exit.S \ |
crt/pseudo-reloc.c \ |
crt/pseudo-reloc.S \ |
crt/setjmp.S |
STATIC_SRCS:= \ |
267,7 → 267,7 |
sinf.S sinl.S tan.S tanf.S tanl.S s_expm1.S |
AMZ_OBJS = $(patsubst %.S, %.o, $(patsubst %.c, %.o, $(AMZ_SRCS))) |
AMZ_OBJS = $(patsubst %.S, %.o, $(AMZ_SRCS)) |
STATIC_OBJS = $(patsubst %.S, %.o, $(patsubst %.c, %.o, $(STATIC_SRCS))) |
/programs/develop/libraries/newlib/crt/pseudo-reloc.c |
---|
File deleted |
/programs/develop/libraries/newlib/crt/chkstk.S |
---|
4,8 → 4,6 |
.section .text |
.def ___chkstk; .scl 2; .type 32; .endef |
.def __alloca; .scl 2; .type 32; .endef |
___chkstk: |
__alloca: |
pushl %ecx /* save temp */ |
/programs/develop/libraries/newlib/crt/crt_amz.S |
---|
6,7 → 6,6 |
.align 4 |
__start: |
call __pei386_runtime_relocator |
jmp _main |
.align 4 |
/programs/develop/libraries/newlib/crt/pseudo-reloc.S |
---|
0,0 → 1,26 |
.global __pei386_runtime_relocator |
.text |
__pei386_runtime_relocator: |
# movl $___RUNTIME_PSEUDO_RELOC_LIST__, %ecx |
# pushl %ebp |
# cmpl $___RUNTIME_PSEUDO_RELOC_LIST_END__, %ecx |
# movl %esp, %ebp |
# jnb .L2 |
#.L1: |
# movl (%ecx), %eax |
# movl 4(%ecx), %edx |
# addl $8, %ecx |
# addl %eax, __image_base__(%edx) |
# cmpl $___RUNTIME_PSEUDO_RELOC_LIST_END__, %ecx |
# jb .L1 |
#.L2: |
# popl %ebp |
ret |
/programs/develop/libraries/newlib/crt/thread.S |
---|
4,8 → 4,6 |
.section .text |
.def _create_thread; .scl 2; .type 32; .endef |
.align 4 |
_create_thread: |
#.thr_proc equ esp+8 |
/programs/develop/libraries/newlib/pe_app.lds |
---|
10,6 → 10,7 |
.text __image_base__ + . : |
{ |
*(.init) |
*(.text) |
*(SORT(.text$*)) |
25,7 → 26,10 |
*(.gcc_exc) |
PROVIDE (etext = .); |
*(.gcc_except_table) |
} |
.rdata ALIGN(__section_alignment__): |
{ |
*(.rdata) |
*(SORT(.rdata$*)) |
___RUNTIME_PSEUDO_RELOC_LIST__ = .; |
34,25 → 38,6 |
___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
__RUNTIME_PSEUDO_RELOC_LIST_END__ = .; |
} |
.data ALIGN(__section_alignment__): |
{ |
PROVIDE ( __data_start__ = .) ; |
*(.data) |
*(.data2) |
*(SORT(.data$*)) |
*(.jcr) |
__CRT_MT = .; |
LONG(0); |
PROVIDE ( __data_end__ = .) ; |
*(.data_cygwin_nocopy) |
} |
.eh_frame ALIGN(__section_alignment__): |
{ |
*(.eh_frame) |
___iend = . ; |
} |
.CRT ALIGN(__section_alignment__): |
{ |
___crt_xc_start__ = . ; |
72,7 → 57,25 |
___crt_xt_end__ = . ; |
} |
.data ALIGN(__section_alignment__): |
{ |
PROVIDE ( __data_start__ = .) ; |
*(.data) |
*(.data2) |
*(SORT(.data$*)) |
*(.jcr) |
__CRT_MT = .; |
LONG(0); |
PROVIDE ( __data_end__ = .) ; |
*(.data_cygwin_nocopy) |
} |
.eh_frame ALIGN(__section_alignment__): |
{ |
*(.eh_frame) |
___iend = . ; |
} |
.bss ALIGN(__section_alignment__): |
{ |
*(.bss) |
/programs/develop/libraries/newlib/time/time.c |
---|
51,11 → 51,3 |
} |
return -1; |
} |
int |
_DEFUN (gettimeofday, (ptimeval, ptimezone), |
struct timeval *ptimeval _AND |
void *ptimezone) |
{ |
return _gettimeofday_r (_REENT, ptimeval, ptimezone); |
} |