Lines Matching defs:alias

5520     { "alias", dot_alias, 0 },
11863 /* Used to remember where .alias and .secalias directives are seen. We
11866 struct alias
11873 /* Called for .alias and .secalias directives. If SECTION is 1, it is
11874 .secalias. Otherwise, it is .alias. */
11878 char *name, *alias;
11883 struct alias *h;
11915 /* We call demand_copy_C_string to check if alias string is valid.
11917 alias = demand_copy_C_string (&len);
11918 if (alias == NULL)
11942 /* Check if alias has been used before. */
11943 h = (struct alias *) hash_find (ahash, alias);
11947 as_bad (_("`%s' is already the alias of %s `%s'"),
11948 alias, kind, h->name);
11952 /* Check if name already has an alias. */
11956 if (strcmp (a, alias))
11957 as_bad (_("%s `%s' already has an alias `%s'"), kind, name, a);
11961 h = (struct alias *) xmalloc (sizeof (struct alias));
11965 error_string = hash_jam (ahash, alias, (PTR) h);
11968 as_fatal (_("inserting \"%s\" into %s alias hash table failed: %s"),
11969 alias, kind, error_string);
11973 error_string = hash_jam (nhash, name, (PTR) alias);
11977 alias, kind, error_string);
11980 obstack_free (&notes, alias);
11986 /* It renames the original symbol name to its alias. */
11988 do_alias (const char *alias, PTR value)
11990 struct alias *h = (struct alias *) value;
11996 h->name, alias);
11998 S_SET_NAME (sym, (char *) alias);
12008 /* It renames the original section name to its alias. */
12010 do_secalias (const char *alias, PTR value)
12012 struct alias *h = (struct alias *) value;
12018 h->name, alias);
12020 sec->name = alias;