Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7481072f authored by Ryan Prichard's avatar Ryan Prichard Committed by Gerrit Code Review
Browse files

Merge "DO NOT MERGE - x86: Switch get_pc_thunk to comdat"

parents 916320eb 82a08414
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -105,14 +105,16 @@ name: \
    /* We loaded the jump table and adjuested EDX. Go.  */	\
    jmp		*%ebx

	.section	.gnu.linkonce.t.__x86.get_pc_thunk.bx,"ax",@progbits
	.section	.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
	.globl	__x86.get_pc_thunk.bx
	.hidden	__x86.get_pc_thunk.bx
	ALIGN (4)
	.type	__x86.get_pc_thunk.bx,@function
__x86.get_pc_thunk.bx:
	cfi_startproc
	movl	(%esp), %ebx
	ret
	cfi_endproc
#else
# define ENTRANCE
# define RETURN_END	ret
+3 −1
Original line number Diff line number Diff line
@@ -105,14 +105,16 @@ name: \
    /* We loaded the jump table and adjuested EDX. Go.  */	\
    jmp		*%ebx

	.section	.gnu.linkonce.t.__x86.get_pc_thunk.bx,"ax",@progbits
	.section	.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
	.globl	__x86.get_pc_thunk.bx
	.hidden	__x86.get_pc_thunk.bx
	ALIGN (4)
	.type	__x86.get_pc_thunk.bx,@function
__x86.get_pc_thunk.bx:
	cfi_startproc
	movl	(%esp), %ebx
	ret
	cfi_endproc
#else
# define ENTRANCE
# define RETURN_END	ret