Skip to content

Commit

Permalink
Merge pull request #1341 from pjonsson/sectionmotememory-single-map
Browse files Browse the repository at this point in the history
SectionMoteMemory: avoid re-adding symbols
  • Loading branch information
nfi authored Sep 26, 2023
2 parents 00823b3 + 4ce84ba commit 03f7cfe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions java/org/contikios/cooja/mote/memory/SectionMoteMemory.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ public boolean addMemorySection(String name ,MemoryInterface section) {
}

sections.put(name, section);
if (section.getSymbolMap() != null) {
// XXX how to handle double names here?
symbols.putAll(section.getSymbolMap());
}

if (DEBUG) {
logger.debug(String.format(
"Added section '%s' of size %d @0x%x",
Expand Down

0 comments on commit 03f7cfe

Please sign in to comment.