process.cc (2976:371224501196) | process.cc (3039:9cec9533b941) |
---|---|
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; --- 235 unchanged lines hidden (view full) --- 244 // map out initial stack contents 245 Addr aux_data_base = stack_base - aux_data_size - info_block_padding; 246 Addr env_data_base = aux_data_base - env_data_size; 247 Addr arg_data_base = env_data_base - arg_data_size; 248 Addr auxv_array_base = arg_data_base - aux_array_size; 249 Addr envp_array_base = auxv_array_base - envp_array_size; 250 Addr argv_array_base = envp_array_base - argv_array_size; 251 Addr argc_base = argv_array_base - argc_size; | 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; --- 235 unchanged lines hidden (view full) --- 244 // map out initial stack contents 245 Addr aux_data_base = stack_base - aux_data_size - info_block_padding; 246 Addr env_data_base = aux_data_base - env_data_size; 247 Addr arg_data_base = env_data_base - arg_data_size; 248 Addr auxv_array_base = arg_data_base - aux_array_size; 249 Addr envp_array_base = auxv_array_base - envp_array_size; 250 Addr argv_array_base = envp_array_base - argv_array_size; 251 Addr argc_base = argv_array_base - argc_size; |
252#ifndef NDEBUG 253 // only used in DPRINTF |
|
252 Addr window_save_base = argc_base - window_save_size; | 254 Addr window_save_base = argc_base - window_save_size; |
255#endif |
|
253 254 DPRINTF(Sparc, "The addresses of items on the initial stack:\n"); 255 DPRINTF(Sparc, "0x%x - aux data\n", aux_data_base); 256 DPRINTF(Sparc, "0x%x - env data\n", env_data_base); 257 DPRINTF(Sparc, "0x%x - arg data\n", arg_data_base); 258 DPRINTF(Sparc, "0x%x - auxv array\n", auxv_array_base); 259 DPRINTF(Sparc, "0x%x - envp array\n", envp_array_base); 260 DPRINTF(Sparc, "0x%x - argv array\n", argv_array_base); --- 37 unchanged lines hidden --- | 256 257 DPRINTF(Sparc, "The addresses of items on the initial stack:\n"); 258 DPRINTF(Sparc, "0x%x - aux data\n", aux_data_base); 259 DPRINTF(Sparc, "0x%x - env data\n", env_data_base); 260 DPRINTF(Sparc, "0x%x - arg data\n", arg_data_base); 261 DPRINTF(Sparc, "0x%x - auxv array\n", auxv_array_base); 262 DPRINTF(Sparc, "0x%x - envp array\n", envp_array_base); 263 DPRINTF(Sparc, "0x%x - argv array\n", argv_array_base); --- 37 unchanged lines hidden --- |