[ARM]: Don't tail-pad over-aligned functions to the alignment boundary.
authorRichard Earnshaw <Richard.Earnshaw@arm.com>
Fri, 24 Apr 2015 14:51:49 +0000 (15:51 +0100)
committerRichard Earnshaw <Richard.Earnshaw@arm.com>
Fri, 24 Apr 2015 14:54:39 +0000 (15:54 +0100)
commit7a5c933c7c2c3926b13a047c64f2af1d3ce8e1db
tree0b5f30e87f378b8034f88bb95e2f23cb9f9b989e
parentde7669bfa507d78f7abfe3d219b5aee9f346235e
[ARM]: Don't tail-pad over-aligned functions to the alignment boundary.

2015-04/24  Richard Earnshaw  <rearnsha@arm.com>

gas/
* config/tc-arm.h (arm_min): New function.
(SUB_SEGMENT_ALIGN): Define.

gas/testsuite/
* gas/arm/align64.d: Delete trailing padding NOPs.

ld/testsuite/
* ld-arm/armthumb-lib.d: Regenerate expected output.
* ld-arm/armthumb-lib.d: Likewise.
* ld-arm/armthumb-lib.sym: Likewise.
* ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
* ld-arm/cortex-a8-fix-b-rel-thumb.d: Likewise.
* ld-arm/cortex-a8-fix-b.d: Likewise.
* ld-arm/cortex-a8-fix-bcc-rel-thumb.d: Likewise.
* ld-arm/cortex-a8-fix-bcc.d: Likewise.
* ld-arm/cortex-a8-fix-bl-rel-arm.d: Likewise.
* ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
* ld-arm/cortex-a8-fix-bl-rel-thumb.d: Likewise.
* ld-arm/cortex-a8-fix-bl.d: Likewise.
* ld-arm/cortex-a8-fix-blx-bcond.d: Likewise.
* ld-arm/cortex-a8-fix-blx-rel-arm.d: Likewise.
* ld-arm/cortex-a8-fix-blx-rel-thumb.d: Likewise.
* ld-arm/cortex-a8-fix-blx.d: Likewise.
* ld-arm/cortex-a8-fix-hdr.d: Likewise.
* ld-arm/farcall-mixed-app-v5.d: Likewise.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-lib-v4t.d: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-lib.d: Likewise.
28 files changed:
gas/ChangeLog
gas/config/tc-arm.h
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/align64.d
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/armthumb-lib.d
ld/testsuite/ld-arm/armthumb-lib.sym
ld/testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d
ld/testsuite/ld-arm/cortex-a8-fix-b-rel-thumb.d
ld/testsuite/ld-arm/cortex-a8-fix-b.d
ld/testsuite/ld-arm/cortex-a8-fix-bcc-rel-thumb.d
ld/testsuite/ld-arm/cortex-a8-fix-bcc.d
ld/testsuite/ld-arm/cortex-a8-fix-bl-rel-arm.d
ld/testsuite/ld-arm/cortex-a8-fix-bl-rel-plt.d
ld/testsuite/ld-arm/cortex-a8-fix-bl-rel-thumb.d
ld/testsuite/ld-arm/cortex-a8-fix-bl.d
ld/testsuite/ld-arm/cortex-a8-fix-blx-bcond.d
ld/testsuite/ld-arm/cortex-a8-fix-blx-rel-arm.d
ld/testsuite/ld-arm/cortex-a8-fix-blx-rel-thumb.d
ld/testsuite/ld-arm/cortex-a8-fix-blx.d
ld/testsuite/ld-arm/cortex-a8-fix-hdr.d
ld/testsuite/ld-arm/farcall-mixed-app-v5.d
ld/testsuite/ld-arm/farcall-mixed-app.d
ld/testsuite/ld-arm/farcall-mixed-lib-v4t.d
ld/testsuite/ld-arm/farcall-mixed-lib.d
ld/testsuite/ld-arm/mixed-app-v5.d
ld/testsuite/ld-arm/mixed-app.d
ld/testsuite/ld-arm/mixed-lib.d