[MPlayer-cvslog] r33039 - in trunk/gui/mplayer: gui_common.c gui_common.h

Ingo Brückl ib at wupperonline.de
Mon Mar 7 22:04:44 CET 2011


Clément Boesch wrote on Mon, 7 Mar 2011 21:26:49 +0100:

> On Mon, Mar 07, 2011 at 09:00:27PM +0100, Ingo Brückl wrote:
>> Clément Boesch wrote on Mon, 7 Mar 2011 20:43:29 +0100:
>>
>> > On Mon, Mar 07, 2011 at 08:35:40PM +0100, ib wrote:
>> >> Author: ib
>> >> Date: Mon Mar  7 20:35:39 2011
>> >> New Revision: 33039
>> >>
>> >> Log:
>> >> Remove needless includes.
>> >>
>> >> (Although it should be purely cosmetic, the compiler output changes.)
>> >>
>>
>> > What changes? Is it due to assert(), __LINE__ or such?
>>
>> If only I knew.
>>

> Then you should inspect it a bit :)

> You'll at least learn something. Try some diff with objdump -d, try GCC -S
> too, etc.

The objdumps don't differ, gcc -S does. Diff is attached. (Seems that a char
array is at a different place.)

Ingo
-------------- next part --------------
--- gui_common.r33038.S.o	2011-03-07 21:57:22.000000000 +0100
+++ gui_common.r33039.S.o	2011-03-07 21:58:42.000000000 +0100
@@ -239,7 +239,7 @@
 Translate:
 	pushl	%ebp
 	pushl	%edi
-	movl	$trbuf.50180, %edi
+	movl	$trbuf.49139, %edi
 	pushl	%esi
 	pushl	%ebx
 	subl	$556, %esp
@@ -266,9 +266,9 @@
 	.p2align 4,,7
 	.p2align 3
 .L155:
-	movb	%al, trbuf.50180(%ecx)
+	movb	%al, trbuf.49139(%ecx)
 	incl	%ecx
-	movb	$0, trbuf.50180(%ecx)
+	movb	$0, trbuf.49139(%ecx)
 .L23:
 	incl	%ebp
 	cmpl	%ebp, 36(%esp)
@@ -380,7 +380,7 @@
 	.p2align 3
 .L21:
 	addl	$556, %esp
-	movl	$trbuf.50180, %eax
+	movl	$trbuf.49139, %eax
 	popl	%ebx
 	popl	%esi
 	popl	%edi
@@ -398,10 +398,10 @@
 .L151:
 	movl	$512, 8(%esp)
 	movl	%esi, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 .L51:
-	movl	$trbuf.50180, %ecx
+	movl	$trbuf.49139, %ecx
 .L123:
 	movl	(%ecx), %eax
 	addl	$4, %ecx
@@ -418,12 +418,12 @@
 	cmove	%eax, %ecx
 	addb	%dl, %dl
 	sbbl	$3, %ecx
-	subl	$trbuf.50180, %ecx
+	subl	$trbuf.49139, %ecx
 	jmp	.L23
 .L24:
 	movl	$512, 8(%esp)
 	movl	$.LC26, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L25:
@@ -585,7 +585,7 @@
 	call	snprintf
 	movl	$512, 8(%esp)
 	movl	%esi, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L33:
@@ -597,7 +597,7 @@
 	call	snprintf
 	movl	$512, 8(%esp)
 	movl	%esi, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L34:
@@ -615,7 +615,7 @@
 	call	snprintf
 	movl	$512, 8(%esp)
 	movl	%esi, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L35:
@@ -685,7 +685,7 @@
 .L117:
 	movl	$512, 8(%esp)
 	movl	$.LC25, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L37:
@@ -708,7 +708,7 @@
 .L152:
 	movl	$512, 8(%esp)
 	movl	$.LC18, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L39:
@@ -726,7 +726,7 @@
 	jne	.L51
 	movl	$512, 8(%esp)
 	movl	$.LC17, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L42:
@@ -786,7 +786,7 @@
 	jne	.L51
 	movl	$512, 8(%esp)
 	movl	$.LC16, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L44:
@@ -814,7 +814,7 @@
 	jne	.L51
 	movl	$512, 8(%esp)
 	movl	$.LC15, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L46:
@@ -855,13 +855,13 @@
 .L120:
 	movl	$512, 8(%esp)
 	movl	$.LC23, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L116:
 	movl	$512, 8(%esp)
 	movl	$.LC20, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L90:
@@ -925,19 +925,19 @@
 .L119:
 	movl	$512, 8(%esp)
 	movl	$.LC22, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L159:
 	movl	$512, 8(%esp)
 	movl	$.LC24, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L115:
 	movl	$512, 8(%esp)
 	movl	$.LC19, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L160:
@@ -992,7 +992,7 @@
 	jne	.L117
 	movl	$512, 8(%esp)
 	movl	$.LC21, 4(%esp)
-	movl	$trbuf.50180, (%esp)
+	movl	$trbuf.49139, (%esp)
 	call	av_strlcat
 	jmp	.L51
 .L66:
@@ -2178,8 +2178,8 @@
 	.comm	image_buffer,4,4
 	.local	image_width
 	.comm	image_width,4,4
-	.local	trbuf.50180
-	.comm	trbuf.50180,512,32
+	.local	trbuf.49139
+	.comm	trbuf.49139,512,32
 	.section	.rodata.cst4,"aM", at progbits,4
 	.align 4
 .LC27:


More information about the MPlayer-cvslog mailing list