diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2016-12-11 20:31:09 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-12-11 20:31:09 -0800 |
commit | cc90de49738ad220bd1d3d001b492679fc488fe1 (patch) | |
tree | a2518c2bb1abfe62b44f393eeb96e0d94799f898 /gold/testsuite/pr20717.c | |
parent | 5d9f66cb84b9f228c1082d3a1037355edceddded (diff) | |
download | binutils-cc90de49738ad220bd1d3d001b492679fc488fe1.zip binutils-cc90de49738ad220bd1d3d001b492679fc488fe1.tar.gz binutils-cc90de49738ad220bd1d3d001b492679fc488fe1.tar.bz2 |
Fix earlier ChangeLog entry to give Igor credit, add testcases.
2016-12-01 Cary Coutant <ccoutant@gmail.com>
Igor Kudrin <ikudrin@accesssoftek.com>
PR gold/20717
* script-sections.cc (Script_sections): Set *keep to false when
no match.
2016-12-11 Igor Kudrin <ikudrin@accesssoftek.com>
PR gold/20717
* testsuite/Makefile.am (pr20717): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/pr20717.c: New test source file.
* testsuite/pr20717.sh: New test script.
* testsuite/pr20717.t: New test linker script.
Diffstat (limited to 'gold/testsuite/pr20717.c')
-rw-r--r-- | gold/testsuite/pr20717.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/testsuite/pr20717.c b/gold/testsuite/pr20717.c new file mode 100644 index 0000000..d571916 --- /dev/null +++ b/gold/testsuite/pr20717.c @@ -0,0 +1,3 @@ +void unused(void); +void unused(void) {} +int main(void) {return 0;} |