Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 1 | # 64-bit mips. |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 2 | |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 3 | libc_bionic_src_files_mips64 += \ |
Nikola Veljkovic | 38f2eaa | 2015-05-26 12:06:09 +0200 | [diff] [blame] | 4 | arch-mips/string/memcmp.c \ |
| 5 | arch-mips/string/memcpy.S \ |
| 6 | arch-mips/string/memset.S \ |
| 7 | arch-mips/string/strcmp.S \ |
| 8 | arch-mips/string/strlen.c \ |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 9 | |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 10 | # |
| 11 | # Inherently architecture-specific code. |
| 12 | # |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 13 | |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 14 | libc_bionic_src_files_mips64 += \ |
Chris Dearman | 645d031 | 2014-02-05 18:51:43 -0800 | [diff] [blame] | 15 | arch-mips64/bionic/__bionic_clone.S \ |
Chris Dearman | 645d031 | 2014-02-05 18:51:43 -0800 | [diff] [blame] | 16 | arch-mips64/bionic/_exit_with_stack_teardown.S \ |
Chris Dearman | 645d031 | 2014-02-05 18:51:43 -0800 | [diff] [blame] | 17 | arch-mips64/bionic/setjmp.S \ |
Chris Dearman | 645d031 | 2014-02-05 18:51:43 -0800 | [diff] [blame] | 18 | arch-mips64/bionic/syscall.S \ |
Dan Albert | 6a91887 | 2014-08-05 20:53:31 +0000 | [diff] [blame] | 19 | arch-mips64/bionic/vfork.S \ |
Raghu Gandham | 86d2fee | 2015-01-15 11:12:22 -0800 | [diff] [blame] | 20 | arch-mips64/bionic/stat.cpp \ |
Chris Dearman | 645d031 | 2014-02-05 18:51:43 -0800 | [diff] [blame] | 21 | |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 22 | libc_crt_target_cflags_mips64 := \ |
| 23 | $($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \ |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 24 | -I$(LOCAL_PATH)/arch-mips64/include \ |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 25 | |
| 26 | libc_crt_target_crtbegin_file_mips64 := \ |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 27 | $(LOCAL_PATH)/arch-mips64/bionic/crtbegin.c \ |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 28 | |
| 29 | libc_crt_target_crtbegin_so_file_mips64 := \ |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 30 | $(LOCAL_PATH)/arch-common/bionic/crtbegin_so.c \ |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 31 | |
| 32 | libc_crt_target_so_cflags_mips64 := \ |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 33 | -fPIC \ |
Ying Wang | f25d677 | 2014-01-23 15:17:50 -0800 | [diff] [blame] | 34 | |
| 35 | libc_crt_target_ldflags_mips64 := \ |
Elliott Hughes | 7c02d94 | 2014-09-16 19:06:31 -0700 | [diff] [blame] | 36 | -melf64ltsmip \ |