Rutuja Govind Oza has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/15915
Change subject: scons: remove unused length for binary blobs
......................................................................
scons: remove unused length for binary blobs
clang returned unused constant variable when compliling with the
recent binary blob change.
https://gem5-review.googlesource.com/c/public/gem5/+/15136
Change-Id: I837f603b6ce923466d9be931759c966f0ef1ce08
Signed-off-by: Rutuja Oza <[email protected]>
---
M src/SConscript
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/SConscript b/src/SConscript
index 74adf3c..d73cb3b 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -237,7 +237,6 @@
:param namespace: namespace to put the symbol into. If None,
don't put the symbols into any namespace.
'''
- symbol_len_declaration = 'const std::size_t {}_len'.format(symbol)
symbol_declaration = 'const std::uint8_t {}[]'.format(symbol)
if hpp_code is not None:
cpp_code('''\
@@ -249,13 +248,11 @@
''')
if namespace is not None:
hpp_code('namespace {} {{'.format(namespace))
- hpp_code('extern ' + symbol_len_declaration + ';')
hpp_code('extern ' + symbol_declaration + ';')
if namespace is not None:
hpp_code('}')
if namespace is not None:
cpp_code('namespace {} {{'.format(namespace))
- cpp_code(symbol_len_declaration + ' = {};'.format(len(data)))
cpp_code(symbol_declaration + ' = {')
cpp_code.indent()
step = 16
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15915
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I837f603b6ce923466d9be931759c966f0ef1ce08
Gerrit-Change-Number: 15915
Gerrit-PatchSet: 1
Gerrit-Owner: Rutuja Govind Oza <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev