mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
ldso: log linker-area info on 'ld_verbose'
This commit is contained in:
@@ -28,7 +28,10 @@
|
|||||||
/* local includes */
|
/* local includes */
|
||||||
#include <linker.h>
|
#include <linker.h>
|
||||||
|
|
||||||
namespace Linker { class Region_map; }
|
namespace Linker {
|
||||||
|
extern bool verbose;
|
||||||
|
class Region_map;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -57,6 +60,11 @@ class Linker::Region_map
|
|||||||
_base((addr_t)_env.rm().attach_at(_rm.dataspace(), base))
|
_base((addr_t)_env.rm().attach_at(_rm.dataspace(), base))
|
||||||
{
|
{
|
||||||
_range.add_range(base, Pd_session::LINKER_AREA_SIZE);
|
_range.add_range(base, Pd_session::LINKER_AREA_SIZE);
|
||||||
|
|
||||||
|
if (Linker::verbose)
|
||||||
|
log(" ", Hex(base),
|
||||||
|
" .. ", Hex(base + Pd_session::LINKER_AREA_SIZE - 1),
|
||||||
|
": linker area");
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user