elf_object.cc (11559:3210a0b99c88) elf_object.cc (11561:704b0198f747)
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

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

378 extra.baseAddr = phdr.p_paddr;
379 extra.size = phdr.p_filesz;
380 extra.fileImage = fileData + phdr.p_offset;
381 extraSegments.push_back(extra);
382 }
383 }
384
385 // should have found at least one loadable segment
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

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

378 extra.baseAddr = phdr.p_paddr;
379 extra.size = phdr.p_filesz;
380 extra.fileImage = fileData + phdr.p_offset;
381 extraSegments.push_back(extra);
382 }
383 }
384
385 // should have found at least one loadable segment
386 warn_if(text.size != 0,
386 warn_if(text.size == 0,
387 "Empty .text segment in '%s'. ELF file corrupted?\n",
388 filename);
389
390 DPRINTFR(Loader, "text: 0x%x %d\ndata: 0x%x %d\nbss: 0x%x %d\n",
391 text.baseAddr, text.size, data.baseAddr, data.size,
392 bss.baseAddr, bss.size);
393
394 elf_end(elf);

--- 179 unchanged lines hidden ---
387 "Empty .text segment in '%s'. ELF file corrupted?\n",
388 filename);
389
390 DPRINTFR(Loader, "text: 0x%x %d\ndata: 0x%x %d\nbss: 0x%x %d\n",
391 text.baseAddr, text.size, data.baseAddr, data.size,
392 bss.baseAddr, bss.size);
393
394 elf_end(elf);

--- 179 unchanged lines hidden ---