Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23715
b: refs/heads/master
c: 6e10133
h: refs/heads/master
i:
  23713: f7a4e3e
  23711: 73d25fd
v: v3
  • Loading branch information
Sam Ravnborg committed Feb 22, 2006
1 parent 43bcfaf commit 28e55ad
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fededcd2af6219de69b252b7d3ea4b4ec2f33c7a
refs/heads/master: 6e10133fa4b2366e8ef18bc2ce34afe727b1c4ba
18 changes: 17 additions & 1 deletion trunk/scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,13 +671,21 @@ static int init_section_ref_ok(const char *name)
".debug",
NULL
};

/* part of section name */
const char *namelist3 [] = {
".unwind", /* sample: IA_64.unwind.init.text */
NULL
};

for (s = namelist1; *s; s++)
if (strcmp(*s, name) == 0)
return 1;
for (s = namelist2; *s; s++)
if (strncmp(*s, name, strlen(*s)) == 0)
return 1;
for (s = namelist3; *s; s++)
if (strstr(*s, name) != NULL)
return 1;
return 0;
}

Expand Down Expand Up @@ -727,13 +735,21 @@ static int exit_section_ref_ok(const char *name)
".debug",
NULL
};
/* part of section name */
const char *namelist3 [] = {
".unwind", /* Sample: IA_64.unwind.exit.text */
NULL
};

for (s = namelist1; *s; s++)
if (strcmp(*s, name) == 0)
return 1;
for (s = namelist2; *s; s++)
if (strncmp(*s, name, strlen(*s)) == 0)
return 1;
for (s = namelist3; *s; s++)
if (strstr(*s, name) != NULL)
return 1;
return 0;
}

Expand Down

0 comments on commit 28e55ad

Please sign in to comment.