diff options
author | Sverker Eriksson <[email protected]> | 2018-03-26 15:48:12 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-26 15:48:12 +0200 |
commit | 39cf4e75f31e9abe46c9fe39000368c1243fdcf3 (patch) | |
tree | 962323787c184be03d18cbe93a8a8de1757204b4 /erts/emulator/utils | |
parent | b48df378266717e1f6b79b96eb0f69cb08081585 (diff) | |
download | otp-39cf4e75f31e9abe46c9fe39000368c1243fdcf3.tar.gz otp-39cf4e75f31e9abe46c9fe39000368c1243fdcf3.tar.bz2 otp-39cf4e75f31e9abe46c9fe39000368c1243fdcf3.zip |
erts: Include foreign static linked drivers in taints
That is, driver added with config option --enable-static-drivers.
Diffstat (limited to 'erts/emulator/utils')
-rwxr-xr-x | erts/emulator/utils/make_driver_tab | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/utils/make_driver_tab b/erts/emulator/utils/make_driver_tab index cefb3e2504..b7bca1dc3a 100755 --- a/erts/emulator/utils/make_driver_tab +++ b/erts/emulator/utils/make_driver_tab @@ -95,22 +95,22 @@ foreach (@static_drivers) { } # The array itself -print "\nErlDrvEntry *driver_tab[] =\n{\n"; +print "\nErtsStaticDriver driver_tab[] =\n{\n"; foreach (@emu_drivers) { - print " &${_}driver_entry,\n"; + print " {&${_}driver_entry, 0},\n"; } foreach (@static_drivers) { - print " NULL, /* ${_} */\n"; + print " {NULL, 1}, /* ${_} */\n"; } -print " NULL\n};\n"; +print " {NULL}\n};\n"; print "void erts_init_static_drivers() {\n"; my $index = 0; foreach (@static_drivers) { - print " driver_tab[".(scalar @emu_drivers+$index)."] = ${_}_driver_init();\n"; + print " driver_tab[".(scalar @emu_drivers+$index)."].de = ${_}_driver_init();\n"; $index++; } |