[x265] [PATCH] Fix compilation errors on MAC Apple silicon

Pop, Sebastian spop at amazon.com
Wed Aug 11 14:16:18 UTC 2021


Hi,

The patch looks good to me.

Could you please move this chunk of code under a macro?

+#ifdef __APPLE__
+.section __RODATA, __rodata
+#else
 .section .rodata
+#endif

This appears in several .S files and it would help to have it on a one-liner as a macro:

.macro SECTION_RODATA
#ifdef __APPLE__
  .section __RODATA, __rodata
#else
  .section .rodata
#endif
.endm

Thanks,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20210811/eaee0a62/attachment.html>


More information about the x265-devel mailing list