[nasm:macho-unify] output: macho -- Rename sect_attribs to macho_known_section_attr

nasm-bot for Cyrill Gorcunov gorcunov at gmail.com
Tue Jun 30 17:03:02 PDT 2020


Commit-ID:  fa832e1b9f79f0a64630acf227112e05919e8b77
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=fa832e1b9f79f0a64630acf227112e05919e8b77
Author:     Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Sat, 5 May 2018 12:54:34 +0300
Committer:  Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Wed, 9 May 2018 18:03:50 +0300

output: macho -- Rename sect_attribs to macho_known_section_attr

To unify with macho_known_section in namings.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>


---
 output/outmacho.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/output/outmacho.c b/output/outmacho.c
index 84a083dd..54c051d5 100644
--- a/output/outmacho.c
+++ b/output/outmacho.c
@@ -723,7 +723,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[] = {
@@ -760,11 +760,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;
 


More information about the Nasm-commits mailing list