mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 07:08:18 +00:00
Minor cleanup fixes
- Fix spelling errors - Remove extra semicolons - Remove extra spaces Fixes #1650
This commit is contained in:
committed by
Christian Helmuth
parent
d2564442d4
commit
c2ff0ae9d4
@ -74,7 +74,7 @@ Linker::Root_object::Root_object(char const *path, unsigned flags)
|
||||
new (Genode::env()->heap()) Dependency(path, this, &dep, flags);
|
||||
|
||||
/* provide Genode base library access */
|
||||
new (Genode::env()->heap()) Dependency(linker_name(), this, &dep);;
|
||||
new (Genode::env()->heap()) Dependency(linker_name(), this, &dep);
|
||||
|
||||
/* relocate and call constructors */
|
||||
Init::list()->initialize();
|
||||
|
@ -145,7 +145,7 @@ struct Linker::Elf_file : File
|
||||
|
||||
if (ehdr->e_ident[EI_CLASS] != ELFCLASS) {
|
||||
PERR("LD: support for 32/64-bit objects only");
|
||||
return false;;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -43,8 +43,8 @@ struct Linker::Debug
|
||||
|
||||
Debug() : Brk(brk) { }
|
||||
|
||||
int version = 1; /* unused */
|
||||
struct Link_map *map = nullptr;; /* start of link map */
|
||||
int version = 1; /* unused */
|
||||
struct Link_map *map = nullptr; /* start of link map */
|
||||
|
||||
/*
|
||||
* This is the address of a function internal to the run-time linker, that
|
||||
@ -86,7 +86,7 @@ struct Linker::Link_map
|
||||
|
||||
static void add(Link_map *map)
|
||||
{
|
||||
map->next = nullptr;;
|
||||
map->next = nullptr;
|
||||
if (!first) {
|
||||
first = map;
|
||||
Debug::d()->map = map;
|
||||
|
Reference in New Issue
Block a user