forked from Imagelibrary/binutils-gdb
2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>
* blockframe.c (sigtramp_saved_pc): Use dynamic allocation,
since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH).
* irix4-nat.c (get_longjmp_target): Ditto.
* irix5-nat.c (get_longjmp_target): Ditto.
* jv-valprint.c (java_value_print): Ditto.
* m3-nat.c (get_cprocs): Ditto.
* m68k-tdep.c (get_longjmp_target): Ditto.
* mips-nat.c (get_longjmp_target): Ditto.
* mipsv4-nat.c(get_longjmp_target): Ditto.
* pa64solib.c (read_dynamic_info): Ditto.
* solib.c (elf_locate_base): Ditto.
This commit is contained in:
@@ -762,8 +762,9 @@ elf_locate_base (void)
|
||||
#ifdef DT_MIPS_RLD_MAP
|
||||
else if (dyn_tag == DT_MIPS_RLD_MAP)
|
||||
{
|
||||
char pbuf[TARGET_PTR_BIT / HOST_CHAR_BIT];
|
||||
char *pbuf;
|
||||
|
||||
pbuf = alloca (TARGET_PTR_BIT / HOST_CHAR_BIT);
|
||||
/* DT_MIPS_RLD_MAP contains a pointer to the address
|
||||
of the dynamic link structure. */
|
||||
dyn_ptr = bfd_h_get_32 (exec_bfd,
|
||||
|
||||
Reference in New Issue
Block a user