elf_common.h: Add parens to EF_ARM_EABI_VERSION macro

Due to my haste, I missed John's suggestion in the review that I add ()
here. Belatedly add them. It didn't matter for my test case, but there's
some pathological uses where it might matter.

Suggested by:		jrtc23, jhb
Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-01-20 16:46:05 -07:00
parent 1761b09bf4
commit c52c98e69a
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ typedef struct {
#define EF_ARM_EABI_VER3 0x03000000
#define EF_ARM_EABI_VER4 0x04000000
#define EF_ARM_EABI_VER5 0x05000000
#define EF_ARM_EABI_VERSION(x) (x & EF_ARM_EABIMASK)
#define EF_ARM_EABI_VERSION(x) ((x) & EF_ARM_EABIMASK)
#define EF_ARM_INTERWORK 0x00000004
#define EF_ARM_APCS_26 0x00000008
#define EF_ARM_APCS_FLOAT 0x00000010