diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-03-16 18:06:44 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-03-16 18:06:44 +0000 |
commit | 435b259cb08adc427d2619de48e49426f1d9d8a4 (patch) | |
tree | fd005345ebf764b11189381c10c27ab44d85c68d /gdb/solib-aix5.c | |
parent | b6c11a24b3d97163eafac1d5fd25f50aa0f02b76 (diff) | |
download | gdb-435b259cb08adc427d2619de48e49426f1d9d8a4.zip gdb-435b259cb08adc427d2619de48e49426f1d9d8a4.tar.gz gdb-435b259cb08adc427d2619de48e49426f1d9d8a4.tar.bz2 |
Change type of ``storage_needed'' from unsigned int to long.
Diffstat (limited to 'gdb/solib-aix5.c')
-rw-r--r-- | gdb/solib-aix5.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/solib-aix5.c b/gdb/solib-aix5.c index b75425b..9207c21 100644 --- a/gdb/solib-aix5.c +++ b/gdb/solib-aix5.c @@ -105,7 +105,7 @@ static void aix5_relocate_main_executable (void); static CORE_ADDR bfd_lookup_symbol (bfd *abfd, char *symname) { - unsigned int storage_needed; + long storage_needed; asymbol *sym; asymbol **symbol_table; unsigned int number_of_symbols; @@ -140,10 +140,6 @@ bfd_lookup_symbol (bfd *abfd, char *symname) /* Look for the symbol in the dynamic string table too. */ storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); -/* FIXME: This problem should be addressed in BFD. */ -#define REASONABLE_LIMIT 0x400000 - if (storage_needed > REASONABLE_LIMIT) - storage_needed = REASONABLE_LIMIT; if (storage_needed > 0) { |