summaryrefslogtreecommitdiff
path: root/lib/elf_py.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-18 15:40:39 +0100
committerGeorgi Valkov <gvalkov@gmail.com>2024-04-30 20:24:17 +0300
commit9824f07b02599ede60fbdecaba95617ef9163135 (patch)
tree987d816347c6b7b5beaaa92ad059b4099e2ffb82 /lib/elf_py.c
parent8deba1e48d7269a46650572f4e8c75bfed6b51e8 (diff)
lib: fix error on MacOS
Sections use a different syntax for Mach-O executables. Fixes: lib/bfd.c:35:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFINE_MTYPE_STATIC(LIB, BFD_INFO, "BFD info") ^ ./lib/memory.h:140:2: note: expanded from macro 'DEFINE_MTYPE_STATIC' DEFINE_MTYPE_ATTR(group, name, static, desc) \ ^ ./lib/memory.h:110:26: note: expanded from macro 'DEFINE_MTYPE_ATTR' __attribute__((section(".data.mtypes"))) = { { \ ^ 1 error generated. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com> Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Diffstat (limited to 'lib/elf_py.c')
0 files changed, 0 insertions, 0 deletions