2000-11-16 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_symver): Don't check the missing version name.
This commit is contained in:
parent
e206b66f34
commit
6f62085610
@ -1,3 +1,8 @@
|
||||
2000-11-16 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* config/obj-elf.c (obj_elf_symver): Don't check the missing
|
||||
version name.
|
||||
|
||||
2000-11-15 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/tc-tic30.c: Fix formatting.
|
||||
|
@ -1127,16 +1127,12 @@ obj_elf_symver (ignore)
|
||||
|
||||
if (symbol_get_obj (sym)->versioned_name == NULL)
|
||||
{
|
||||
char *p, *rp;
|
||||
|
||||
symbol_get_obj (sym)->versioned_name = xstrdup (name);
|
||||
|
||||
*input_line_pointer = c;
|
||||
|
||||
p = strchr (symbol_get_obj (sym)->versioned_name, ELF_VER_CHR);
|
||||
if (p)
|
||||
rp = strrchr (p, ELF_VER_CHR);
|
||||
if (!p || p [1] == '\0' || rp [1] == '\0')
|
||||
if (strchr (symbol_get_obj (sym)->versioned_name,
|
||||
ELF_VER_CHR) == NULL)
|
||||
{
|
||||
as_bad (_("missing version name in `%s' for symbol `%s'"),
|
||||
symbol_get_obj (sym)->versioned_name,
|
||||
|
Loading…
Reference in New Issue
Block a user