Add .x as XDR/RPCGEN (#3472)

* Add .x as XDR/RPCGEN

XDR/RPC language as documented in RFC5531, RFC4506.
Samples are from glibc and RFCs.

* Add Logos samples

https://github.com/JonasGessner/NoCarrier/blob/master/NoCarrier.x - MIT
cf31f4e466/llvm-gcc-R3/gcc/testsuite/objc/execute/string1.x - GPL2
f6415578fa/perapp-plugin/Tweak.x - GPL3
d1b3e83888/NCHax.x - Apache

* Add disambiguate heuristics for .x

* Add RPC to vendor/README.md
This commit is contained in:
Dylan Simon
2018-01-25 04:15:09 -05:00
committed by Colin Seymour
parent 8da6ddf9d9
commit 60f748d47b
10 changed files with 1048 additions and 0 deletions

5
samples/Logos/string1.x Normal file
View File

@@ -0,0 +1,5 @@
# APPLE LOCAL file string workaround 4943900
if { [istarget "*-*-darwin\[9123\]*"] } {
set additional_flags "-framework Foundation -fconstant-cfstrings"
}
return 0