projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* cpu-cris.c (get_compatible): Rearrange disabled code and comment
[binutils-gdb.git]
/
bfd
/
elf32-sh-symbian.c
diff --git
a/bfd/elf32-sh-symbian.c
b/bfd/elf32-sh-symbian.c
index 6c243399b27db4e099a01846b4be3ec8c9809575..adce088cc4d766e08af7d7d4740e1313f7ca3470 100644
(file)
--- a/
bfd/elf32-sh-symbian.c
+++ b/
bfd/elf32-sh-symbian.c
@@
-125,8
+125,8
@@
sh_symbian_import_as (struct bfd_link_info *info, bfd * abfd,
return TRUE;
bfd_set_error (bfd_error_invalid_operation);
return TRUE;
bfd_set_error (bfd_error_invalid_operation);
- _bfd_error_handler (_("%
s
: IMPORT AS directive for %s conceals previous IMPORT AS"),
-
bfd_archive_filename (abfd)
, current_name);
+ _bfd_error_handler (_("%
B
: IMPORT AS directive for %s conceals previous IMPORT AS"),
+
abfd
, current_name);
return FALSE;
}
return FALSE;
}
@@
-377,8
+377,8
@@
sh_symbian_process_embedded_commands (struct bfd_link_info *info, bfd * abfd,
fprintf (stderr, "offset into .directive section: %d\n", directive - contents);
bfd_set_error (bfd_error_invalid_operation);
fprintf (stderr, "offset into .directive section: %d\n", directive - contents);
bfd_set_error (bfd_error_invalid_operation);
- _bfd_error_handler (_("%
s
: Unrecognised .directive command: %s"),
-
bfd_archive_filename (abfd)
, directive);
+ _bfd_error_handler (_("%
B
: Unrecognised .directive command: %s"),
+
abfd
, directive);
break;
}
}
break;
}
}
@@
-495,8
+495,8
@@
sh_symbian_relocate_section (bfd * output_bfd,
& new_value, & new_hash, & skip, & override, & type_change_ok,
& size_change_ok))
{
& new_value, & new_hash, & skip, & override, & type_change_ok,
& size_change_ok))
{
- _bfd_error_handler (_("%
s
: Failed to add renamed symbol %s"),
-
bfd_archive_filename (input_bfd)
, ptr->new_name);
+ _bfd_error_handler (_("%
B
: Failed to add renamed symbol %s"),
+
input_bfd
, ptr->new_name);
continue;
}
/* XXX - should we check psec, skip, override etc ? */
continue;
}
/* XXX - should we check psec, skip, override etc ? */
@@
-505,7
+505,7
@@
sh_symbian_relocate_section (bfd * output_bfd,
/* Allow the symbol to become local if necessary. */
if (new_hash->dynindx == -1)
/* Allow the symbol to become local if necessary. */
if (new_hash->dynindx == -1)
- new_hash->
elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR
;
+ new_hash->
def_regular = 1
;
if (DEBUG)
fprintf (stderr, "Created new symbol %s\n", ptr->new_name);
if (DEBUG)
fprintf (stderr, "Created new symbol %s\n", ptr->new_name);