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>
This commit is contained in:
Cyrill Gorcunov 2018-05-05 12:54:34 +03:00
parent 458c04eca4
commit c7922f95af

View file

@ -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;