Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # compile compat/compat_util.o
- /Users/fallen/dev/netbsd/src/obj/tooldir.Darwin-10.8.0-i386/bin/lm32--netbsd-gcc -ffreestanding -fno-zero-initialized-in-bss -O2 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare --sysroot=/Users/fallen/dev/netbsd/src/obj/destdir.milkymist -Dmilkymist -I../../. -I/Users/fallen/dev/netbsd/src/sys/../common/include -I/Users/fallen/dev/netbsd/src/sys/arch -I/Users/fallen/dev/netbsd/src/sys -nostdinc -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/Users/fallen/dev/netbsd/src/sys/lib/libkern/../../../common/lib/libc/quad -I/Users/fallen/dev/netbsd/src/sys/lib/libkern/../../../common/lib/libc/string --sysroot=/Users/fallen/dev/netbsd/src/obj/destdir.milkymist -c /Users/fallen/dev/netbsd/src/sys/compat/common/compat_util.c -o compat_util.o
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Assembler messages:
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:136: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:168: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:244: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:274: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:277: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:281: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:306: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:309: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:312: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:315: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s:319: Warning: This is the end!
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 104 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8406384 ; op_symbol = 8405128
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Error: .size expression for emul_find_root does not evaluate to a constant
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_find_root: size->X_op == 20
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 104 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8406384 ; op_symbol = 8405128
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_find_root: resolve_expression(size) == 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 368 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8540832 ; op_symbol = 8538128
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Error: .size expression for emul_find_interp does not evaluate to a constant
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_find_interp: size->X_op == 20
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 368 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8540832 ; op_symbol = 8538128
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_find_interp: resolve_expression(size) == 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 452 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8542064 ; op_symbol = 8540952
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Error: .size expression for emul_flags_translate does not evaluate to a constant
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_flags_translate: size->X_op == 20
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 452 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8542064 ; op_symbol = 8540952
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for emul_flags_translate: resolve_expression(size) == 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 532 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8555856 ; op_symbol = 8554728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Error: .size expression for compat_offseterr does not evaluate to a constant
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for compat_offseterr: size->X_op == 20
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 532 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8555856 ; op_symbol = 8554728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for compat_offseterr: resolve_expression(size) == 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 812 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8560712 ; op_symbol = 8556168
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Error: .size expression for compat_elf_check_interp does not evaluate to a constant
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for compat_elf_check_interp: size->X_op == 20
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: we skip return 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_right != absolute_section
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: left = 812 ; right = 0
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: seg_left = 8482816 ; seg_right = 854976 ; reg_section = 8483728
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: undefined_section = 854976 ; add_symbol = 8560712 ; op_symbol = 8556168
- /var/folders/ab/abyj3M5qFtefd2hEj876WU+++TI/-Tmp-//ccjcEt9q.s: Warning: .size expression for compat_elf_check_interp: resolve_expression(size) == 0
- here is the content of ccjcEt9q.s (I ran the command by hand and added -S):
- .file "compat_util.c"
- #APP
- .pushsection .ident
- .asciz "$NetBSD: compat_util.c,v 1.44 2010/11/19 06:44:35 dholland Exp $"
- .popsection
- .ifndef _KERNEL_OPT_DDB_VERBOSE_HELP
- .global _KERNEL_OPT_DDB_VERBOSE_HELP
- .equiv _KERNEL_OPT_DDB_VERBOSE_HELP,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_DDB
- .global _KERNEL_OPT_DDB
- .equiv _KERNEL_OPT_DDB,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MULTIPROCESSOR
- .global _KERNEL_OPT_MULTIPROCESSOR
- .equiv _KERNEL_OPT_MULTIPROCESSOR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MODULAR
- .global _KERNEL_OPT_MODULAR
- .equiv _KERNEL_OPT_MODULAR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_UVMMAP_COUNTERS
- .global _KERNEL_OPT_UVMMAP_COUNTERS
- .equiv _KERNEL_OPT_UVMMAP_COUNTERS,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_USE_TOPDOWN_VM
- .global _KERNEL_OPT_USE_TOPDOWN_VM
- .equiv _KERNEL_OPT_USE_TOPDOWN_VM,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_LOCKDEBUG
- .global _KERNEL_OPT_LOCKDEBUG
- .equiv _KERNEL_OPT_LOCKDEBUG,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MULTIPROCESSOR
- .global _KERNEL_OPT_MULTIPROCESSOR
- .equiv _KERNEL_OPT_MULTIPROCESSOR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_LOCKDEBUG
- .global _KERNEL_OPT_LOCKDEBUG
- .equiv _KERNEL_OPT_LOCKDEBUG,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MULTIPROCESSOR
- .global _KERNEL_OPT_MULTIPROCESSOR
- .equiv _KERNEL_OPT_MULTIPROCESSOR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_KSTACK_CHECK_MAGIC
- .global _KERNEL_OPT_KSTACK_CHECK_MAGIC
- .equiv _KERNEL_OPT_KSTACK_CHECK_MAGIC,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_LOCKDEBUG
- .global _KERNEL_OPT_LOCKDEBUG
- .equiv _KERNEL_OPT_LOCKDEBUG,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_LOCKDEBUG
- .global _KERNEL_OPT_LOCKDEBUG
- .equiv _KERNEL_OPT_LOCKDEBUG,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_FREEBSD
- .global _KERNEL_OPT_COMPAT_FREEBSD
- .equiv _KERNEL_OPT_COMPAT_FREEBSD,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SUNOS
- .global _KERNEL_OPT_COMPAT_SUNOS
- .equiv _KERNEL_OPT_COMPAT_SUNOS,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_SVR4_COMPAT_SOLARIS2
- .global _KERNEL_OPT_SVR4_COMPAT_SOLARIS2
- .equiv _KERNEL_OPT_SVR4_COMPAT_SOLARIS2,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SVR4_32
- .global _KERNEL_OPT_COMPAT_SVR4_32
- .equiv _KERNEL_OPT_COMPAT_SVR4_32,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SVR4
- .global _KERNEL_OPT_COMPAT_SVR4
- .equiv _KERNEL_OPT_COMPAT_SVR4,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_43
- .global _KERNEL_OPT_COMPAT_43
- .equiv _KERNEL_OPT_COMPAT_43,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_OSF1
- .global _KERNEL_OPT_COMPAT_OSF1
- .equiv _KERNEL_OPT_COMPAT_OSF1,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_IBCS2
- .global _KERNEL_OPT_COMPAT_IBCS2
- .equiv _KERNEL_OPT_COMPAT_IBCS2,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MODULAR
- .global _KERNEL_OPT_MODULAR
- .equiv _KERNEL_OPT_MODULAR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_FREEBSD
- .global _KERNEL_OPT_COMPAT_FREEBSD
- .equiv _KERNEL_OPT_COMPAT_FREEBSD,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SUNOS
- .global _KERNEL_OPT_COMPAT_SUNOS
- .equiv _KERNEL_OPT_COMPAT_SUNOS,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_SVR4_COMPAT_SOLARIS2
- .global _KERNEL_OPT_SVR4_COMPAT_SOLARIS2
- .equiv _KERNEL_OPT_SVR4_COMPAT_SOLARIS2,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SVR4_32
- .global _KERNEL_OPT_COMPAT_SVR4_32
- .equiv _KERNEL_OPT_COMPAT_SVR4_32,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_SVR4
- .global _KERNEL_OPT_COMPAT_SVR4
- .equiv _KERNEL_OPT_COMPAT_SVR4,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_43
- .global _KERNEL_OPT_COMPAT_43
- .equiv _KERNEL_OPT_COMPAT_43,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_OSF1
- .global _KERNEL_OPT_COMPAT_OSF1
- .equiv _KERNEL_OPT_COMPAT_OSF1,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_COMPAT_IBCS2
- .global _KERNEL_OPT_COMPAT_IBCS2
- .equiv _KERNEL_OPT_COMPAT_IBCS2,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_MODULAR
- .global _KERNEL_OPT_MODULAR
- .equiv _KERNEL_OPT_MODULAR,0x6e074def
- .endif
- .ifndef _KERNEL_OPT_VMSWAP
- .global _KERNEL_OPT_VMSWAP
- .equiv _KERNEL_OPT_VMSWAP,0x6e074def
- .endif
- #NO_APP
- .section .text
- .align 4
- .global emul_find_root
- .type emul_find_root, @function
- addi sp, sp, -12
- sw (sp+8), r11
- sw (sp+4), ra
- or r11, r2, r0
- lw r2, (r2+108)
- be r2,r0,.L4
- .L1:
- lw ra, (sp+4)
- lw r11, (sp+8)
- addi sp, sp, 12
- b ra
- .L4:
- lw r1, (r11+104)
- lw r1, (r1+12)
- lw r1, (r1+4)
- be r1,r2,.L1
- orhi r2, r0, hi(NSM_FOLLOW_NOEMULROOT)
- ori r2, r2, lo(NSM_FOLLOW_NOEMULROOT)
- lw r2, (r2+0)
- addi r3, sp, 12
- calli namei_simple_kernel
- bne r1,r0,.L1
- lw r1, (sp+12)
- sw (r11+108), r1
- lw ra, (sp+4)
- lw r11, (sp+8)
- addi sp, sp, 12
- b ra
- .size emul_find_root, .-emul_find_root
- .align 4
- .global emul_find_interp
- .type emul_find_interp, @function
- addi sp, sp, -84
- sw (sp+20), r11
- sw (sp+16), r12
- sw (sp+12), r13
- sw (sp+8), r14
- sw (sp+4), ra
- or r14, r1, r0
- or r1, r3, r0
- or r11, r2, r0
- calli pathbuf_create
- or r13, r1, r0
- addi r12, r0, 12
- be r1,r0,.L6
- lw r1, (r11+104)
- lw r2, (r1+12)
- lw r2, (r2+4)
- be r2,r0,.L7
- lw r1, (r11+108)
- be r1,r0,.L13
- .L7:
- lw r1, (r11+112)
- be r1,r0,.L8
- calli vrele
- .L8:
- lw r2, (r11+108)
- addi r1, r0, 64
- be r2,r0,.L9
- lw r3, (r11+104)
- sw (sp+40), r2
- addi r1, r0, 208
- lw r2, (r3+12)
- lw r2, (r2+4)
- sw (sp+56), r2
- .L9:
- sw (sp+64), r0
- sw (sp+68), r1
- sw (sp+24), r0
- sw (sp+28), r13
- calli kauth_cred_get
- sw (sp+72), r1
- addi r1, sp, 24
- calli namei
- or r12, r1, r0
- be r1,r0,.L10
- sw (r11+112), r0
- .L6:
- or r1, r12, r0
- lw ra, (sp+4)
- lw r11, (sp+20)
- lw r12, (sp+16)
- lw r13, (sp+12)
- lw r14, (sp+8)
- addi sp, sp, 84
- b ra
- .L10:
- lw r2, (sp+44)
- or r1, r13, r0
- sw (r11+112), r2
- calli pathbuf_destroy
- or r1, r12, r0
- lw ra, (sp+4)
- lw r11, (sp+20)
- lw r12, (sp+16)
- lw r13, (sp+12)
- lw r14, (sp+8)
- addi sp, sp, 84
- b ra
- .L13:
- or r1, r14, r0
- or r2, r11, r0
- calli emul_find_root
- bi .L7
- .size emul_find_interp, .-emul_find_interp
- .align 4
- .global emul_flags_translate
- .type emul_flags_translate, @function
- lw r4, (r1+0)
- addi r6, r0, 0
- bne r4,r0,.L17
- bi .L15
- .L16:
- addi r1, r1, 12
- lw r4, (r1+0)
- be r4,r0,.L15
- .L17:
- lw r7, (r1+4)
- and r5, r4, r2
- bne r5,r7,.L16
- lw r5, (r1+8)
- not r4, r4
- addi r1, r1, 12
- and r2, r2, r4
- lw r4, (r1+0)
- or r6, r6, r5
- bne r4,r0,.L17
- .L15:
- be r3,r0,.L18
- sw (r3+0), r2
- .L18:
- or r1, r6, r0
- b ra
- .size emul_flags_translate, .-emul_flags_translate
- .section .rodata.str1.4,"aMS",@progbits,1
- .align 4
- .LC0:
- .stringz"%s: dir offset too large on fs %s (mounted from %s)\n"
- .align 4
- .LC1:
- .stringz"%s: dir offset too large for emulated program\n"
- .section .text
- .align 4
- .global compat_offseterr
- .type compat_offseterr, @function
- addi sp, sp, -8
- sw (sp+8), r11
- sw (sp+4), ra
- lw r5, (r1+100)
- or r11, r2, r0
- orhi r2, r0, hi(.LC0)
- addi r4, r5, 252
- or r3, r11, r0
- addi r5, r5, 1276
- addi r1, r0, 3
- ori r2, r2, lo(.LC0)
- calli log
- orhi r1, r0, hi(.LC1)
- ori r1, r1, lo(.LC1)
- or r2, r11, r0
- calli uprintf
- lw ra, (sp+4)
- lw r11, (sp+8)
- addi sp, sp, 8
- b ra
- .size compat_offseterr, .-compat_offseterr
- .section .rodata.str1.4
- .align 4
- .LC2:
- .stringz"/usr/libexec/ld.elf_so"
- .align 4
- .LC3:
- .stringz"/libexec/ld.elf_so"
- .align 4
- .LC4:
- .stringz"%s-%s"
- .align 4
- .LC5:
- .stringz"%s"
- .section .text
- .align 4
- .global compat_elf_check_interp
- .type compat_elf_check_interp, @function
- addi sp, sp, -32
- sw (sp+28), r11
- sw (sp+24), r12
- sw (sp+20), r13
- sw (sp+16), r14
- sw (sp+12), r15
- sw (sp+8), r16
- sw (sp+4), ra
- addi r11, r0, 0
- or r12, r2, r0
- or r13, r1, r0
- or r14, r3, r0
- be r2,r0,.L23
- lw r1, (r1+112)
- be r1,r0,.L29
- .L23:
- or r1, r11, r0
- lw ra, (sp+4)
- lw r11, (sp+28)
- lw r12, (sp+24)
- lw r13, (sp+20)
- lw r14, (sp+16)
- lw r15, (sp+12)
- lw r16, (sp+8)
- addi sp, sp, 32
- b ra
- .L29:
- or r1, r2, r0
- orhi r2, r0, hi(.LC2)
- ori r2, r2, lo(.LC2)
- calli strcmp
- be r1,r11,.L24
- orhi r2, r0, hi(.LC3)
- or r1, r12, r0
- ori r2, r2, lo(.LC3)
- calli strcmp
- bne r1,r0,.L23
- .L24:
- orhi r15, r0, hi(pnbuf_cache)
- ori r15, r15, lo(pnbuf_cache)
- lw r1, (r15+0)
- addi r2, r0, 1
- addi r3, r0, 0
- calli pool_cache_get_paddr
- orhi r3, r0, hi(.LC4)
- addi r2, r0, 1024
- ori r3, r3, lo(.LC4)
- or r4, r12, r0
- or r5, r14, r0
- or r16, r1, r0
- calli snprintf
- orhi r3, r0, hi(NSM_FOLLOW_NOEMULROOT)
- ori r3, r3, lo(NSM_FOLLOW_NOEMULROOT)
- lw r2, (r3+0)
- or r1, r16, r0
- addi r3, sp, 32
- calli namei_simple_kernel
- or r11, r1, r0
- be r1,r0,.L30
- .L25:
- lw r1, (r15+0)
- or r2, r16, r0
- addi r3, r0, -1
- calli pool_cache_put_paddr
- bi .L23
- .L30:
- lw r2, (sp+32)
- orhi r3, r0, hi(.LC5)
- or r1, r12, r0
- sw (r13+112), r2
- ori r3, r3, lo(.LC5)
- addi r2, r0, 1024
- or r4, r16, r0
- calli snprintf
- bi .L25
- .size compat_elf_check_interp, .-compat_elf_check_interp
- .ident "GCC: (NetBSD nb1 20120916) 4.5.4"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement