Reformat elfedit.c
2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (update_elf_header): Reformat.
This commit is contained in:
parent
ea715a34a7
commit
71a72a8462
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elfedit.c (update_elf_header): Reformat.
|
||||||
|
|
||||||
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* readelf.c (usage): Fix indent for --symbols.
|
* readelf.c (usage): Fix indent for --symbols.
|
||||||
|
|
|
@ -253,8 +253,7 @@ update_elf_header (const char *file_name, FILE *file)
|
||||||
/* Skip if class doesn't match. */
|
/* Skip if class doesn't match. */
|
||||||
if (input_elf_class == -1)
|
if (input_elf_class == -1)
|
||||||
input_elf_class = elf_header.e_ident[EI_CLASS];
|
input_elf_class = elf_header.e_ident[EI_CLASS];
|
||||||
else
|
else if (elf_header.e_ident[EI_CLASS] != input_elf_class)
|
||||||
if (elf_header.e_ident[EI_CLASS] != input_elf_class)
|
|
||||||
{
|
{
|
||||||
non_fatal
|
non_fatal
|
||||||
(_("%s: Unmatched EI_CLASS: %d is not %d\n"),
|
(_("%s: Unmatched EI_CLASS: %d is not %d\n"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue