mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
e4a6c7fd89
The string data for string-valued build attributes were being unconditionally uppercased. There is no mention in the ARM ABI addenda about case conventions, so it's technically implementation defined as to whether the data are capitialised in some way or not. However, there are good reasons not to captialise the data. * It's less work. * Some vendors may legitimately have case-sensitive checks for these attributes which would fail on LLVM generated object files. * There could be locale issues with uppercasing. The original reasons for uppercasing appear to have stemmed from an old codesourcery toolchain behaviour, see http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/87133 This patch makes the object file emitted no longer captialise string data, it encodes as seen in the assembly source. Change-Id: Ibe20dd6e60d2773d57ff72a78470839033aa5538 llvm-svn: 222882
26 lines
415 B
ArmAsm
26 lines
415 B
ArmAsm
@ RUN: llvm-mc < %s -triple armv7-unknown-linux-gnueabi -filetype=obj -o - \
|
|
@ RUN: | llvm-readobj -s -sd | FileCheck %s
|
|
|
|
@ CHECK: Name: .ARM.attribute
|
|
@ CHECK: SectionData (
|
|
|
|
@ <format-version>
|
|
@ CHECK: 41
|
|
|
|
@ <section-length>
|
|
@ CHECK: 1A0000 00
|
|
|
|
@ <vendor-name> "aeabi\0"
|
|
@ CHECK: 616561 626900
|
|
|
|
@ <file-tag>
|
|
@ CHECK: 01
|
|
|
|
@ <size>
|
|
@ CHECK: 10000000
|
|
|
|
.cpu cortex-a8
|
|
@ CHECK: 05636F72 7465782D 613800
|
|
|
|
@ CHECK: )
|