diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-03-24 02:07:15 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-04-01 11:59:44 +0200 |
commit | d4ea30a415188e4e52688fbd214198fa633bb174 (patch) | |
tree | dc7e4db3632c9cded111e3d0b6f95c3d2805d913 /ldso | |
parent | 00b07e8ca5664985bbbbdc1d375407ac36124317 (diff) |
xtensa: add missing .literal_position directives
This addition allows building uClibc with -mtext-section-literals
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/xtensa/dl-startup.h | 1 | ||||
-rw-r--r-- | ldso/ldso/xtensa/resolve.S | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/xtensa/dl-startup.h b/ldso/ldso/xtensa/dl-startup.h index 45af82d2d..b135a4cb8 100644 --- a/ldso/ldso/xtensa/dl-startup.h +++ b/ldso/ldso/xtensa/dl-startup.h @@ -11,6 +11,7 @@ __asm__ ( " .text\n" " .align 4\n" + " .literal_position\n" " .global _start\n" " .type _start, @function\n" " .hidden _start\n" diff --git a/ldso/ldso/xtensa/resolve.S b/ldso/ldso/xtensa/resolve.S index 61c2c5d42..d1ae8aa04 100644 --- a/ldso/ldso/xtensa/resolve.S +++ b/ldso/ldso/xtensa/resolve.S @@ -27,6 +27,7 @@ .text .align 4 + .literal_position .global _dl_linux_resolve .type _dl_linux_resolve, @function _dl_linux_resolve: |