object_file.cc (8852:c744483edfcf) object_file.cc (9186:635a7cdec721)
1/*
2 * Copyright (c) 2002-2004 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;

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

48#include "mem/port_proxy.hh"
49
50using namespace std;
51
52ObjectFile::ObjectFile(const string &_filename, int _fd,
53 size_t _len, uint8_t *_data,
54 Arch _arch, OpSys _opSys)
55 : filename(_filename), descriptor(_fd), fileData(_data), len(_len),
1/*
2 * Copyright (c) 2002-2004 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;

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

48#include "mem/port_proxy.hh"
49
50using namespace std;
51
52ObjectFile::ObjectFile(const string &_filename, int _fd,
53 size_t _len, uint8_t *_data,
54 Arch _arch, OpSys _opSys)
55 : filename(_filename), descriptor(_fd), fileData(_data), len(_len),
56 arch(_arch), opSys(_opSys)
56 arch(_arch), opSys(_opSys), globalPtr(0)
57{
58}
59
60
61ObjectFile::~ObjectFile()
62{
63 close();
64}

--- 86 unchanged lines hidden ---
57{
58}
59
60
61ObjectFile::~ObjectFile()
62{
63 close();
64}

--- 86 unchanged lines hidden ---