elf_object.cc (13634:748418e0ca3f) elf_object.cc (14017:815c925b777d)
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 484 unchanged lines hidden (view full) ---

493 if (interpreter) {
494 interpreter->loadSomeSymbols(symtab, STB_WEAK, addr_mask,
495 base, offset);
496 }
497 return loadSomeSymbols(symtab, STB_WEAK, addr_mask, base, offset);
498}
499
500bool
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 484 unchanged lines hidden (view full) ---

493 if (interpreter) {
494 interpreter->loadSomeSymbols(symtab, STB_WEAK, addr_mask,
495 base, offset);
496 }
497 return loadSomeSymbols(symtab, STB_WEAK, addr_mask, base, offset);
498}
499
500bool
501ElfObject::loadSections(PortProxy& mem_proxy, Addr addr_mask, Addr offset)
501ElfObject::loadSections(const PortProxy& mem_proxy, Addr addr_mask,
502 Addr offset)
502{
503 if (!ObjectFile::loadSections(mem_proxy, addr_mask, offset))
504 return false;
505
506 for (auto seg : extraSegments) {
507 if (!loadSection(&seg, mem_proxy, addr_mask, offset)) {
508 return false;
509 }

--- 68 unchanged lines hidden ---
503{
504 if (!ObjectFile::loadSections(mem_proxy, addr_mask, offset))
505 return false;
506
507 for (auto seg : extraSegments) {
508 if (!loadSection(&seg, mem_proxy, addr_mask, offset)) {
509 return false;
510 }

--- 68 unchanged lines hidden ---