Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.
	* iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as
	lvalue.
  • Loading branch information
Andreas Jaeger committed Feb 21, 2004
1 parent cd5b502 commit 14755b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2004-02-21 Andreas Jaeger <aj@suse.de>

* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.

* iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as
lvalue.

2004-02-19 Carlos O'Donell <carlos@baldric.uwo.ca>

* sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__]
Expand Down
4 changes: 2 additions & 2 deletions elf/dl-load.c
Expand Up @@ -1228,7 +1228,7 @@ cannot allocate TLS data structures for initial thread");
}
else
/* Adjust the PT_PHDR value by the runtime load address. */
(ElfW(Addr)) l->l_phdr += l->l_addr;
l->l_phdr = (ElfW(Phdr) *) ((ElfW(Addr)) l->l_phdr + l->l_addr);
}

#ifdef USE_TLS
Expand All @@ -1254,7 +1254,7 @@ cannot allocate TLS data structures for initial thread");
}
}
else
(ElfW(Addr)) l->l_ld += l->l_addr;
l->l_ld = (ElfW(Dyn) *) ((ElfW(Addr)) l->l_ld + l->l_addr);

l->l_entry += l->l_addr;

Expand Down

0 comments on commit 14755b9

Please sign in to comment.