Fix failing test for PR 23870.
gold/ PR gold/pr23870 * testsuite/aarch64_pr23870_bar.c: Return a magic value. * testsuite/aarch64_pr23870_foo.c: Check the magic value and return success or failure.
This commit is contained in:
parent
1de96e5de9
commit
b218a83935
@ -1,3 +1,10 @@
|
|||||||
|
2021-03-19 Cary Coutant <ccoutant@gmail.com>
|
||||||
|
|
||||||
|
PR gold/pr23870
|
||||||
|
* testsuite/aarch64_pr23870_bar.c: Return a magic value.
|
||||||
|
* testsuite/aarch64_pr23870_foo.c: Check the magic value and return
|
||||||
|
success or failure.
|
||||||
|
|
||||||
2021-03-19 Holger Berger <holger.berger@googlemail.com>
|
2021-03-19 Holger Berger <holger.berger@googlemail.com>
|
||||||
|
|
||||||
PR gold/26541
|
PR gold/26541
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
void bar (void);
|
int bar (void);
|
||||||
|
|
||||||
void bar ()
|
int bar ()
|
||||||
{
|
{
|
||||||
return;
|
return 0x55;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
void foo (void (*bar)(void));
|
int foo (int (*bar)(void));
|
||||||
|
|
||||||
void foo (void (*bar)(void))
|
int foo (int (*bar)(void))
|
||||||
{
|
{
|
||||||
bar();
|
return bar() == 0x55 ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user