Browse Source

ARM: align PIC offset pools to 4 bytes

When building Thumb2 code, the end of a function, where the PIC
offsets are placed, need not be aligned.  Although the values
are only accessed with instructions allowing unaligned addresses,
keeping them aligned is preferable.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n1.0
Mans Rullgard 12 years ago
parent
commit
cdb7db5acd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/arm/asm.S

+ 1
- 0
libavutil/arm/asm.S View File

@@ -66,6 +66,7 @@ ELF .eabi_attribute 25, \val
.set .Lpic_gp, 0
.macro endfunc
.if .Lpic_idx
.align 2
.altmacro
put_pic %(.Lpic_idx - 1)
.noaltmacro


Loading…
Cancel
Save