diff options
author | Joshua Liebow-Feeser <joshlf@google.com> | 2018-09-17 15:40:24 -0700 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2018-09-24 20:25:48 +0000 |
commit | 066b108957e3fe38947173c9acbc128e616b12f4 (patch) | |
tree | a5bf7f9b5c01056f9fab916a5e2aeaa97b5b619e /BUILDING.md | |
parent | 5ede28c8a422801ace3ba5e466ba963005351145 (diff) | |
download | boringssl-066b108957e3fe38947173c9acbc128e616b12f4.zip boringssl-066b108957e3fe38947173c9acbc128e616b12f4.tar.gz boringssl-066b108957e3fe38947173c9acbc128e616b12f4.tar.bz2 |
Add util/read_symbols.go
- Add util/read_symbols.go to read exported symbols from an AR
file for use with the symbol prefixing feature
- Move util/fipstools/fipscommon/ar.go -> util/ar/ar.go
- util/ar/ar.go: Support BSD-style AR files
Change-Id: I171b3b952e69c4b87ac04751b7dba3ea9bc2504e
Reviewed-on: https://boringssl-review.googlesource.com/32024
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/BUILDING.md b/BUILDING.md index ab9b71d..01f5480 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -128,7 +128,11 @@ the prefix `MY_CUSTOM_PREFIX` to all of the symbols listed in `/path/to/symbols.txt`. It is currently the caller's responsibility to create and maintain the list of -symbols to be prefixed. +symbols to be prefixed. Alternatively, `util/read_symbols.go` reads the list of +exported symbols from a `.a` file, and can be used in a build script to generate +the symbol list on the fly (by building without prefixing, using +`read_symbols.go` to construct a symbol list, and then building again with +prefixing). This mechanism is under development and may change over time. Please contact the BoringSSL maintainers if making use of it. |