summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-05-05 12:54:34 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-10-25 00:14:08 +0300
commitc7922f95af706ff508c8e652f1f2dcb70c3f4a4c (patch)
tree6f7784e88aa87974bc93553bdf00463c1f133d95
parent458c04eca47af88c096148d9a8825a3abc91d677 (diff)
downloadnasm-c7922f95af706ff508c8e652f1f2dcb70c3f4a4c.tar.gz
output: macho -- Rename sect_attribs to macho_known_section_attr
To unify with macho_known_section in namings. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--output/outmacho.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outmacho.c b/output/outmacho.c
index 0ce69ef7..769aac02 100644
--- a/output/outmacho.c
+++ b/output/outmacho.c
@@ -755,7 +755,7 @@ static const struct macho_known_section {
};
/* Section type or attribute directives */
-static const struct sect_attribs {
+static const struct macho_known_section_attr {
const char *name;
uint32_t flags;
} sect_attribs[] = {
@@ -792,11 +792,11 @@ lookup_known_section(const char *name, bool by_sectname)
static int32_t macho_section(char *name, int pass, int *bits)
{
const struct macho_known_section *known_section;
+ const struct macho_known_section_attr *sa;
char *sectionAttributes;
struct section *s;
const char *section, *segment;
uint32_t flags;
- const struct sect_attribs *sa;
char *currentAttribute;
char *comma;