redhat-rpm-config package turned on -Wl,--as-needed linker flag by default, breaking the SunEC via system NSS provider build. This fixes it by filtering -Wl,--as-needed from linker flags when SunEC provider is being built. Resolves: RHBZ#1623399
- Remove unneeded ones. - Rename patches for clarity. Update JDK-8201788 from upstream. - Add patches needed to build on more arches (Zero).