process.cc (5759:6e65ac8a2c80) | process.cc (5771:f58d82cb8b7f) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 53 unchanged lines hidden (view full) --- 62 63} 64 65void 66AlphaLiveProcess::argsInit(int intSize, int pageSize) 67{ 68 objFile->loadSections(initVirtMem); 69 | 1/* 2 * Copyright (c) 2003-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; --- 53 unchanged lines hidden (view full) --- 62 63} 64 65void 66AlphaLiveProcess::argsInit(int intSize, int pageSize) 67{ 68 objFile->loadSections(initVirtMem); 69 |
70 typedef M5_auxv_t<uint64_t> auxv_t; | 70 typedef AuxVector<uint64_t> auxv_t; |
71 std::vector<auxv_t> auxv; 72 73 ElfObject * elfObject = dynamic_cast<ElfObject *>(objFile); 74 if(elfObject) 75 { 76 // modern glibc uses a bunch of auxiliary vectors to set up 77 // TLS as well as do a bunch of other stuff 78 // these vectors go on the bottom of the stack, below argc/argv/envp --- 119 unchanged lines hidden --- | 71 std::vector<auxv_t> auxv; 72 73 ElfObject * elfObject = dynamic_cast<ElfObject *>(objFile); 74 if(elfObject) 75 { 76 // modern glibc uses a bunch of auxiliary vectors to set up 77 // TLS as well as do a bunch of other stuff 78 // these vectors go on the bottom of the stack, below argc/argv/envp --- 119 unchanged lines hidden --- |