ObjFW  Check-in [97b7c01ddd]

Overview
Comment:jmp *(%foo) should be jmp *%foo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: 97b7c01ddd394bc6a0623415a9ff55a3e8bdd762022a8b8416ff3cc47665db83
User & Date: js on 2012-06-01 21:48:46
Other Links: branch diff | manifest | tags
Context
2012-06-06
14:05
Merge branch 'master' into runtime check-in: 050ac82798 user: js tags: runtime
2012-06-01
21:48
jmp *(%foo) should be jmp *%foo. check-in: 97b7c01ddd user: js tags: runtime
2012-05-12
14:14
Use -Wno-deprecated-objc-isa-usage if available. check-in: 482c103268 user: js tags: runtime
Changes

Modified src/runtime/lookup-amd64-elf.S from [2e8002927c] to [a276d12e99].

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

	testq	%rax, %rax
	jz	forward

	ret

forward:
	mov	objc_not_found_handler@GOTPCREL(%rip), %rax
	jmp	*(%rax)

objc_msg_lookup_super:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jz	ret_nil

	movq	8(%rdi), %r8







|
|







41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

	testq	%rax, %rax
	jz	forward

	ret

forward:
	movq	objc_not_found_handler@GOTPCREL(%rip), %rax
	jmp	*%rax

objc_msg_lookup_super:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jz	ret_nil

	movq	8(%rdi), %r8

Modified src/runtime/lookup-x86-elf.S from [b73cd77fba] to [5b85918f20].

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

	ret

forward:
	call	get_eip
.L1:
	addl	$objc_not_found_handler-.L1, %eax
	jmp	*(%eax)

objc_msg_lookup_super:
	movl	4(%esp), %edx
	cmpl	$0, (%edx)
	je	ret_nil

	movl	4(%edx), %edx







|







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

	ret

forward:
	call	get_eip
.L1:
	addl	$objc_not_found_handler-.L1, %eax
	jmp	*%eax

objc_msg_lookup_super:
	movl	4(%esp), %edx
	cmpl	$0, (%edx)
	je	ret_nil

	movl	4(%edx), %edx