search for: object_arch

Displaying 5 results from an estimated 5 matches for "object_arch".

2014 Mar 19
0
[PATCH 2/2] Make the arm2gnu.pl converter handle apple specific details
...while (<>) { # won't match the original source file (we could use the .line # directive, which is documented to be obsolete, but then gdb will # show the wrong line in the translated source file). - s/$/; .arch armv7-a\n .fpu neon\n .object_arch armv4t/; + s/$/; .arch armv7-a\n .fpu neon\n .object_arch armv4t/ unless ($apple); } } @@ -157,9 +164,13 @@ while (<>) { $prefix = ""; if ($proc) { - $prefix = $prefix.sprintf("\t.type\t%s, %%function; &quot...
2014 Mar 19
3
[PATCH 1/2] Add separate labels for the start of public functions
This avoids having to use the public symbol name when jumping here, on platforms where the public symbols have an underscore prefix. --- This avoids having to add heuristics for adding prefixes to symbols in jumps to local labels as well. --- celt/arm/celt_pitch_xcorr_arm.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/celt/arm/celt_pitch_xcorr_arm.s
2014 Mar 20
0
[PATCH 2/2] Make the arm2gnu.pl converter handle apple specific details
...ntime detection) They do have something similar but not identicaly and I'm not sure if it can be overridden from within an assembly source file. They do have command line parameters -arch armv6/armv7/armv7s/arm64 which sets the flags on object files, but they don't work quite as .arch/.object_arch in ELF land, since the whole binary needs to be built with the same flags (these are what identifies different versions of the same object file in fat binaries). And there's not much need for the runtime detection on iOS since the armv7 binary variant always supports NEON (contrary to andro...
2014 Mar 19
2
[PATCH 2/2] Make the arm2gnu.pl converter handle apple specific details
Martin Storsjo wrote: > + [AC_MSG_RESULT([yes]); ARM2GNU_PARAMS="-apple"], I'd prefer --apple instead of -apple, but otherwise these patches both look good to me. Does Apple have equivalent machinery to any of the pieces you disabled? Those were: - object size calculations so debuggers can tell what function they're in - architecture flags so an
2014 Mar 10
2
Building Opus (git master) ARM assembly for iOS
...orr_arm-gnu.o celt/arm/celt_pitch_xcorr_arm-gnu.S:30:24: error: unknown directive .text; .p2align 2; .arch armv7-a ^ celt/arm/celt_pitch_xcorr_arm-gnu.S:31:4: error: unknown directive .fpu neon ^ celt/arm/celt_pitch_xcorr_arm-gnu.S:32:4: error: unknown directive .object_arch armv4t ^ celt/arm/celt_pitch_xcorr_arm-gnu.S:47:2: error: unknown directive .type xcorr_kernel_neon, %function; xcorr_kernel_neon: @ PROC ^ celt/arm/celt_pitch_xcorr_arm-gnu.S:155:2: error: unknown directive .size xcorr_kernel_neon, .-xcorr_kernel_neon @ ENDP ^ celt/arm/celt_pitch_xcorr_arm-...