projects
/
platform
/
upstream
/
elfutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.165
[platform/upstream/elfutils.git]
/
tests
/
asm-tst3.c
diff --git
a/tests/asm-tst3.c
b/tests/asm-tst3.c
index
acec1a4
..
e52cfbe
100644
(file)
--- a/
tests/asm-tst3.c
+++ b/
tests/asm-tst3.c
@@
-176,7
+176,7
@@
main (void)
scn = elf_getscn (elf, cnt);
if (scn == NULL)
{
scn = elf_getscn (elf, cnt);
if (scn == NULL)
{
- printf ("cannot get section %
Z
d: %s\n", cnt, elf_errmsg (-1));
+ printf ("cannot get section %
z
d: %s\n", cnt, elf_errmsg (-1));
result = 1;
continue;
}
result = 1;
continue;
}
@@
-184,7
+184,7
@@
main (void)
shdr = gelf_getshdr (scn, &shdr_mem);
if (shdr == NULL)
{
shdr = gelf_getshdr (scn, &shdr_mem);
if (shdr == NULL)
{
- printf ("cannot get section header for section %
Z
d: %s\n",
+ printf ("cannot get section header for section %
z
d: %s\n",
cnt, elf_errmsg (-1));
result = 1;
continue;
cnt, elf_errmsg (-1));
result = 1;
continue;
@@
-193,7
+193,7
@@
main (void)
if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
scnnames[cnt]) != 0)
{
if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
scnnames[cnt]) != 0)
{
- printf ("section %
Z
d's name differs: %s vs %s\n", cnt,
+ printf ("section %
z
d's name differs: %s vs %s\n", cnt,
elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
scnnames[cnt]);
result = 1;
elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
scnnames[cnt]);
result = 1;
@@
-201,20
+201,20
@@
main (void)
if (shdr->sh_type != scntypes[cnt])
{
if (shdr->sh_type != scntypes[cnt])
{
- printf ("section %
Z
d's type differs\n", cnt);
+ printf ("section %
z
d's type differs\n", cnt);
result = 1;
}
if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE))
|| (cnt != 1 && shdr->sh_flags != 0))
{
result = 1;
}
if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE))
|| (cnt != 1 && shdr->sh_flags != 0))
{
- printf ("section %
Z
d's flags differs\n", cnt);
+ printf ("section %
z
d's flags differs\n", cnt);
result = 1;
}
if (shdr->sh_addr != 0)
{
result = 1;
}
if (shdr->sh_addr != 0)
{
- printf ("section %
Z
d's address differs\n", cnt);
+ printf ("section %
z
d's address differs\n", cnt);
result = 1;
}
result = 1;
}