elf_object.cc (5383:51dc65015ca9) elf_object.cc (5543:3af77710f397)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

31
32#include <string>
33
34#include "gelf.h"
35
36#include "base/loader/elf_object.hh"
37#include "base/loader/symtab.hh"
38#include "base/misc.hh"
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

31
32#include <string>
33
34#include "gelf.h"
35
36#include "base/loader/elf_object.hh"
37#include "base/loader/symtab.hh"
38#include "base/misc.hh"
39#include "base/trace.hh" // for DPRINTF
39#include "base/trace.hh" // for DPRINTF
40#include "sim/byteswap.hh"
41
42using namespace std;
43
44ObjectFile *
45ElfObject::tryFile(const string &fname, int fd, size_t len, uint8_t *data)
46{
47 Elf *elf;

--- 394 unchanged lines hidden ---
40#include "sim/byteswap.hh"
41
42using namespace std;
43
44ObjectFile *
45ElfObject::tryFile(const string &fname, int fd, size_t len, uint8_t *data)
46{
47 Elf *elf;

--- 394 unchanged lines hidden ---