aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-06-27 * write.c (fixup_segment <Difference of 2 syms same seg>): IfAlan Modra2-4/+12
pcrel, subtract MD_PCREL_FROM_SECTION value.
2001-06-27 Avoid creating COPY relocs.Alan Modra2-116/+152
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic here.. (elf32_hppa_adjust_dynamic_symbol): ..nor here.. (allocate_plt_and_got_and_discard_relocs): .. instead do so here after gc has run. * elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete. (IS_ABSOLUTE_RELOC): Define. (elf32_hppa_link_hash_entry): Always include reloc_entries field. (hppa_link_hash_newfunc): Always init it. (elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to create COPY relocs only when the reloc is in a read-only section. Instead, allocate space for a dynamic reloc to reference the library symbol directly. Keep track of space we allocate using relocs_entries. (hppa_discard_copies): Delete, and move code to.. (allocate_plt_and_got): ..here. Rename to allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic relocs for non-shared link. (elf32_hppa_size_dynamic_sections): Update calls to above. (elf32_hppa_relocate_section): Write out the dynamic relocs used in lieu of COPY relocs.
2001-06-27 * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamicAlan Modra2-60/+75
here.. (elf_i386_adjust_dynamic_symbol): ..nor here.. (allocate_plt_and_got_and_discard_relocs): .. instead do so here after gc has run. (elf_i386_size_dynamic_sections): Fix a comment. (elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code involved in writing reloc out.
2001-06-27Always send the breakpoint table headers to ui-out. MI/CLI canAndrew Cagney2-17/+27
internally decide if they should be displayed.
2001-06-27*** empty log message ***gdbadmin1-1/+1
2001-06-26delete reference to query outputAndrew Cagney2-8/+5
2001-06-26* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" orAndrew Cagney5-35/+48
"locals" entries. * gdbmi.texinfo (stack-list-locals, stack-list-arguments) (exec-interrupt, target-select, thread-select): Update documentation. * mi-stack.exp: Update. Output for args=... and locals=... changed to a list.
2001-06-26* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list ofAndrew Cagney5-29/+44
"stack" entries. (mi_cmd_stack_list_args): Ditto for "stack-args". * gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update documentation. (GDB/MI Stack Manipulation Commands): Fix section title. Was Stack Manipulation Commands in GDB/MI. * mi-stack.exp: Update. Output for stack=..., args=... and stack-args=... changed to a list.
2001-06-26Unscramble two merged patches. This puts memory lists back to normal.Andrew Cagney1-15/+15
2001-06-26* stack.c (print_frame): For ui_out, output a list of arguments.Andrew Cagney22-106/+140
Update all tests. Update doco.
2001-06-26Update paper trail entry.Kevin Buettner2-0/+5
2001-06-262001-06-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2-98/+35
* infrun.c: Eliminate the "thread_step_needed" state variable, and replace it with a relatively simple test in resume. (resume): Replace thread_step_needed logic with a test for stepping, breakpoint_here_p and breakpoints_inserted. Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic. (proceed): Discard thread_step_needed logic. (wait_for_inferior, fetch_inferior_event, handle_inferior_event): Discard thread_step_needed logic.
2001-06-26*** empty log message ***gdbadmin1-1/+1
2001-06-25Update data-read-memory so that it outputs lists.Andrew Cagney5-26/+37
2001-06-25For data-list-register-values output a list of register values.Andrew Cagney5-14/+25
2001-06-25Output register-names as a list.Andrew Cagney5-19/+34
2001-06-25data-list-changed-registers outputs a list of registers.Andrew Cagney5-5/+17
2001-06-25 * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):Alan Modra2-3/+20
Ensure syms are dynamic if we might be emitting a reloc. (allocate_plt_and_got_and_discard_relocs): Don't discard relocs for undefweak or undefined syms.. (elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.
2001-06-252001-06-24 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+5
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
2001-06-25 * readelf.c (dump_relocations): Print "bad symbol index" ifAlan Modra2-33/+44
symtab == NULL with non-zero symtab_index. (process_relocs): Don't bomb if reloc section has no symsec.
2001-06-25 * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): DiscardAlan Modra2-8/+14
relocs without ELF_LINK_HASH_DEF_DYNAMIC set. (elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove redundant bfd_link_hash_defined, bfd_link_hash_defweak test.
2001-06-25*** empty log message ***gdbadmin1-1/+1
2001-06-24 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGEJakub Jelinek2-1/+7
section symbols the same way as externs.
2001-06-242001-06-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+9
* objcopy.c (strip_main): Revert the change made on 2001-05-30 by accident. (copy_main): Apply the the change made to strip_main on 2001-05-30 by accident.
2001-06-242001-06-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-7/+8
* cpu-i960.c (scan_960_mach): Don't modify const char *. Use strncasecmp/strcasecmp instead of strncmp/strcmp.
2001-06-242001-06-24 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-2/+7
* remote-rdi.c (arm_rdi_wait): Fix return type in prototype. * rdi-share/host.h: Add missing parenthesis in conditional. 2001-06-22 J.T. Conklin <jtc@redback.com> * configure.in: include nlist.h when checking for member som_addr in struct so_map. * configure: regenerate.
2001-06-242001-06-24 Ben Elliston <bje@redhat.com>Ben Elliston2-246/+17
* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993. (emit_relocations): Ditto. (s_bss): Ditto. (md_begin): Reformat comments to conform to the GNU standards. (md_assemble): Ditto.
2001-06-24* fixes to silence all compiler warnings.Ben Elliston2-12/+24
2001-06-24 Ben Elliston <bje@redhat.com> * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char. (md_parse_option): Mark parameters as unused. (md_show_usage): Ditto. (calcop): Adjust type of `reg_prefix' to char. (get_reg): Ditto. (getval): Adjust type of local `c' to char. (md_create_short_jump): Mark from_addr, to_addr params as unused. (md_create_long_jump): Ditto. (md_estimate_size_before_relax): Mark parameters as unused.
2001-06-242001-06-24 Ben Elliston <bje@redhat.com>Ben Elliston2-91/+58
* m88k-dis.c: Format to conform to GNU coding standards.
2001-06-242001-06-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+11
* elf32-i386.c (elf_i386_relocate_section): Check the ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the regular object file and treat the weak definition as the normal one.
2001-06-24*** empty log message ***gdbadmin1-1/+1
2001-06-232001-06-24 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+6
* config/tc-m88k.c (md_pseudo_table): Properly terminate the table to allay a possible compiler warning.
2001-06-23Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.Andrew Cagney39-181/+515
2001-06-23Change mi/data-disassemble command output to a list ([]) instead ofAndrew Cagney5-30/+46
({}).
2001-06-23 * disassemble.c (disassembler_usage): Add unused attribute.Andreas Jaeger2-2/+6
2001-06-23 * unwind-ia64.c (unw_decode_x1): Add unused attribute forAndreas Jaeger2-7/+15
parameter 'code'. (unw_decode_x2): Likewise. (unw_decode_x3): Likewise. (unw_decode_x4): Likewise.
2001-06-23 * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): TightenAlan Modra2-2/+16
unresolved_reloc test to exclude cases where we use "relocation" before setting it to point into the .got. Reinstate fudge for unresolved relocs in debugging sections.
2001-06-23 * elf32-i386.c (elf_i386_relocate_section): Replace uglyAlan Modra2-60/+38
complicated tests for unresolvable relocs with a simple direct scheme using "unresolved_reloc" var.
2001-06-232001-06-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+5
* MAINTAINERS: Add myself as M88k maintainer.
2001-06-23 * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename toAlan Modra2-95/+108
elf_i386_dyn_relocs. Update comment. (struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to dyn_relocs. (elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change others to aborts. (allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with abort. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_finish_dynamic_symbol): Likewise. (elf_i386_finish_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error handling code.
2001-06-23 Avoid creating COPY relocs if possible.Alan Modra2-111/+139
* elf32-i386.c (elf_i386_check_relocs): Tweak condition under which .got created. Mark symbols used by R_386_32 and R_386_PC32 relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the reloc is in a read-only section. Instead, allocate space for a dynamic reloc to reference the library symbol directly. Keep track of space we allocate using pcrel_relocs_copied. (discard_copies): Delete, and move code to .. (allocate_plt_and_got): ..here. Rename to allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic relocs for non-shared link. (elf_i386_size_dynamic_sections): Update calls to above functions. (elf_i386_relocate_section): Write out the dynamic relocs. Add more ugly logic to avoid "unresolvable relocation" error. Use htab shortcut in place of elf_hash_table macro. (elf_i386_finish_dynamic_sections): Allow that dynamic .got may not always be created now.
2001-06-232001-06-22 Michael Chastain <chastain@redhat.com>Michael Chastain2-296/+59
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect. This is operationally compatible with the previous version.
2001-06-23*** empty log message ***gdbadmin1-1/+1
2001-06-222001-06-22 Eric Christopher <echristo@redhat.com>Eric Christopher2-5/+8
* mips-opc.c: Move prefx to start of the table.
2001-06-22* configure.in: include nlist.h when checking for member som_addrJ.T. Conklin3-0/+12
in struct so_map. * configure: regenerate.
2001-06-22Document md_atofNick Clifton2-0/+20
2001-06-22Add missing support for -o option.Nick Clifton2-3/+13
2001-06-22Fix over-optimisation of ST instruction.Nick Clifton2-8/+5
2001-06-22Add wdebug instructionNick Clifton2-0/+6
2001-06-22Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 orNick Clifton2-0/+10
64 bit architecture.