* binutils-all/arm/simple.s: Fix assembly problems for COFF based

ARM toolchaisn by removing .type and .size directives.
This commit is contained in:
Nick Clifton 2011-04-11 15:12:29 +00:00
parent 7782b183cb
commit 0389ec1ea0
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-04-11 Nick Clifton <nickc@redhat.com>
* binutils-all/arm/simple.s: Fix assembly problems for COFF based
ARM toolchaisn by removing .type and .size directives.
2011-04-07 Paul Carroll<pcarroll@codesourcery.com> 2011-04-07 Paul Carroll<pcarroll@codesourcery.com>
* binutils-all/arm/simple.s: Demo issue with objdump with * binutils-all/arm/simple.s: Demo issue with objdump with

View File

@ -8,7 +8,7 @@ l:
.text .text
.align 2 .align 2
.global f1 .global f1
.type f1, %function
f1: f1:
str fp, [sp, #-4]! str fp, [sp, #-4]!
add fp, sp, #0 add fp, sp, #0
@ -19,10 +19,10 @@ f1:
bx lr bx lr
.align 2 .align 2
.word l .word l
.size f1, .-f1
.align 2 .align 2
.global main .global main
.type main, %function
main: main:
stmfd sp!, {fp, lr} stmfd sp!, {fp, lr}
add fp, sp, #4 add fp, sp, #4
@ -31,5 +31,5 @@ main:
.word 1717986919 .word 1717986919
.word -1840700269 .word -1840700269
.word l .word l
.size main, .-main
.ident "GCC: (Sourcery G++ 2011.03) 4.5.1" .ident "GCC: (Sourcery G++ 2011.03) 4.5.1"