Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 480af4a

Browse files
committed
Switch .eh_frame to readonly (from "aw" to "a").
external/libffi/src/x86/sysv.S:832:1: error: changed section flags for .eh_frame, expected: 0x2 .section .eh_frame,"aw",@progbits ^ Bug: http://b/155835175 Test: mma in external/libffi for an x86 target Change-Id: I5cd91db87461fd74aa473e38d1682c190d75bc2b
1 parent 27201c8 commit 480af4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linux-x86/fficonfig.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#undef C_ALLOCA
1010

1111
/* Define to the flags needed for the .section .eh_frame directive. */
12-
#define EH_FRAME_FLAGS "aw"
12+
#define EH_FRAME_FLAGS "a"
1313

1414
/* Define this if you want extra debugging. */
1515
#undef FFI_DEBUG
@@ -68,7 +68,7 @@
6868
#define HAVE_MMAP_FILE 1
6969

7070
/* Define if .eh_frame sections should be read-only. */
71-
#undef HAVE_RO_EH_FRAME
71+
#define HAVE_RO_EH_FRAME 1
7272

7373
/* Define to 1 if you have the <stdint.h> header file. */
7474
#define HAVE_STDINT_H 1

0 commit comments

Comments
 (0)