Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
f963f803
Commit
f963f803
authored
Nov 16, 2014
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: Use .data.rel.ro for const data with relocations
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
3c01039e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
configure
configure
+3
-0
fft_fixed_neon.S
libavcodec/arm/fft_fixed_neon.S
+1
-1
fft_neon.S
libavcodec/arm/fft_neon.S
+1
-1
fft_vfp.S
libavcodec/arm/fft_vfp.S
+1
-1
asm.S
libavutil/arm/asm.S
+5
-1
No files found.
configure
View file @
f963f803
...
...
@@ -1543,6 +1543,7 @@ HAVE_LIST="
libdc1394_1
libdc1394_2
sdl
section_data_rel_ro
threads
vdpau_x11
xlib
...
...
@@ -3415,6 +3416,7 @@ case $target_os in
;;
android
)
disable symver
enable
section_data_rel_ro
SLIB_INSTALL_NAME
=
'$(SLIBNAME)'
SLIB_INSTALL_LINKS
=
# soname not set on purpose
...
...
@@ -3549,6 +3551,7 @@ case $target_os in
;;
linux
)
enable
dv1394
enable
section_data_rel_ro
;;
irix
*
)
target_os
=
irix
...
...
libavcodec/arm/fft_fixed_neon.S
View file @
f963f803
...
...
@@ -242,7 +242,7 @@ function ff_fft_fixed_calc_neon, export=1
bx r3
endfunc
const fft_fixed_tab_neon
const fft_fixed_tab_neon
, relocate=1
.word fft4_neon
.word fft8_neon
.word fft16_neon
...
...
libavcodec/arm/fft_neon.S
View file @
f963f803
...
...
@@ -348,7 +348,7 @@ function ff_fft_permute_neon, export=1
pop {r4,pc}
endfunc
const fft_tab_neon
const fft_tab_neon
, relocate=1
.word fft4_neon
.word fft8_neon
.word fft16_neon
...
...
libavcodec/arm/fft_vfp.S
View file @
f963f803
...
...
@@ -33,7 +33,7 @@ function ff_fft_calc_vfp, export=1
movrel a2, (fft_tab_vfp - 8)
ldr pc, [a2, ip, lsl #2]
endfunc
const
fft_tab_vfp
const
fft_tab_vfp, relocate=1
.word fft4_vfp
.word fft8_vfp
.word X(ff_fft16_vfp) @ this one alone is exported
...
...
libavutil/arm/asm.S
View file @
f963f803
...
...
@@ -89,12 +89,16 @@ FUNC .func \name
.endif
.endm
.macro const name, align=2
.macro const name, align=2
, relocate=0
.macro endconst
ELF .size \name, . - \name
.purgem endconst
.endm
.if HAVE_SECTION_DATA_REL_RO && \relocate
.section .data.rel.ro
.else
.section .rodata
.endif
.align \align
\name:
.endm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment