diff --git a/ld/ChangeLog b/ld/ChangeLog index 6ee54fc3c86..826ea7c8325 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-07-05 H.J. Lu + + * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test. + 2016-07-05 Andre Vieria * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result. diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 2ecb4d021c4..4ed163ea466 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -199,7 +199,7 @@ set lto_link_tests [list \ "$plug_opt" "-flto $lto_no_fat" \ {pr20267b.c} {} "libpr20267b.a"] \ [list "Build pr20321" \ - "-Wl,-plugin,$plug_so" "-flto" \ + "-flto -Wl,-plugin,$plug_so" "-flto" \ {pr20321.c} {} "pr20321" "c" ".*: duplicated plugin"] \ ]