summaryrefslogtreecommitdiff
path: root/tests/run-strip-test8.sh
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-10-06 15:53:15 -0700
committerMark Wielaard <mjw@redhat.com>2015-10-07 22:44:41 +0200
commit7eff36d5daa6ebca5e6399638a7643af105ae5b0 (patch)
tree7bfd9c4a93f88135b9f42337d827948aa6b63cdb /tests/run-strip-test8.sh
parentdaee4714ee3761e2d92f764a724e83875a79a3f0 (diff)
downloadelfutils-7eff36d5daa6ebca5e6399638a7643af105ae5b0.tar.gz
Do without union of variable length arrays.
Prepare to compile with clang. A union like { T32 a32[n]; T64 a64[n]; } u; is expanded to size_t nbytes = n * MAX(sizeof(T32), sizeof(T64)); void *data = malloc(nbytes); T32 (*a32)[n] = data; T64 (*a64)[n] = data; Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Diffstat (limited to 'tests/run-strip-test8.sh')
0 files changed, 0 insertions, 0 deletions