summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
commit07464c3e7156f4c8dfcac673c74f19b700b1b3b5 (patch)
tree2e4c6402a1de852f8d3683cf455fe60fa677b202 /libc/sysdeps/linux/avr32
parent233c504cd940d9802226b6a3a092368b86978f5e (diff)
Revert "*/crt?.S: remove .size directives"
Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
Diffstat (limited to 'libc/sysdeps/linux/avr32')
-rw-r--r--libc/sysdeps/linux/avr32/crt1.S1
-rw-r--r--libc/sysdeps/linux/avr32/crtn.S2
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/avr32/crt1.S b/libc/sysdeps/linux/avr32/crt1.S
index e2a82a528..ca1fa7a4c 100644
--- a/libc/sysdeps/linux/avr32/crt1.S
+++ b/libc/sysdeps/linux/avr32/crt1.S
@@ -80,6 +80,7 @@ __main_addr:
___uClibc_main_addr:
.long __uClibc_main
#endif
+ .size _start, . - _start
/*
* The LSB says we need this.
diff --git a/libc/sysdeps/linux/avr32/crtn.S b/libc/sysdeps/linux/avr32/crtn.S
index c37f7d201..f7d104070 100644
--- a/libc/sysdeps/linux/avr32/crtn.S
+++ b/libc/sysdeps/linux/avr32/crtn.S
@@ -4,9 +4,11 @@
.global _init
.type _init, @function
ldm sp++, r6, pc
+ .size _init, . - _init
.section .fini
.align 2
.global _fini
.type _fini, @function
ldm sp++, r6, pc
+ .size _fini, . - _fini