aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-06-22*** empty log message ***gdbadmin1-1/+1
2001-06-21 * cli-out.c (cli_out_new): Initialize new structure memberKeith Seitz2-0/+6
"suppress_output".
2001-06-21Allow adrCCl. [Patch from Phillip BLundel]Nick Clifton8-57/+60
Updated ARM tests.
2001-06-21* mi-out.c (struct ui_out_data): Replace field first_header withAndrew Cagney2-8/+38
suppress_output. (mi_begin, mi_end): Check suppress_header. (mi_field_int, mi_field_skip): Ditto. (mi_field_string, mi_field_fmt): Ditto. (mi_table_begin): When nr_rows is zero, set suppress_header else, output the start of the header. (mi_table_body): Clear suppress header.
2001-06-21 * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking ofAndreas Jaeger2-15/+14
shared libraries.
2001-06-21Output ``[]'' when a list.Andrew Cagney2-2/+13
2001-06-21* ui-out.h (ui_out_table_header): Add parameter ``col_name''.Andrew Cagney7-21/+52
(table_header_ftype): Ditto. * cli-out.c (cli_table_header): Update. * ui-out.c (ui_out_table_header): Update. (uo_table_header): Update. (default_table_header): Update. (append_header_to_list): Update. (struct ui_out_header): Add field ``col_name''. (append_header_to_list): Use xstrdup. Initialize col_name. * breakpoint.c (breakpoint_1): Pass COL_NAME to ui_out_table_header.
2001-06-21Fix typosNick Clifton4-2/+10
2001-06-21 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.Alan Modra4-20/+62
(md_apply_fix): Use it here. Replace printf with equivalent as_bad_where. (tc_gen_reloc): Use as_bad_where instead of as_bad. (md_apply_fix): Here too. * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad. * config/tc-m68k.c (tc_gen_reloc): Likewise. (md_convert_frag_1): Likewise.
2001-06-21 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): AlwaysAlan Modra2-96/+114
allocate local .got space. Use shortcuts from hash table for .got and .plt rather than comparing section names. (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than adjusting index into local_got_refcounts to document what we are really doing. (elf32_hppa_relocate_section): Similarly for local_plt_offsets. Tidy .got and .plt error checking.
2001-06-21*** empty log message ***gdbadmin1-1/+1
2001-06-20 * ld.texinfo (Options, -r): Mention restrictions when usingHans-Peter Nilsson2-1/+13
different object formats.
2001-06-20 * bfdint.texi (BFD relocation functions) <different formats>:Hans-Peter Nilsson2-5/+16
Mention that the GNU linker is aware of input-output format restrictions when generating relocatable output. Make new paragraph for final-link case. (BFD target vector swap): Fix typo.
2001-06-20 * elf-bfd.h (struct elf_backend_data):Catherine Moore4-17/+104
elf_backend_emit_relocs: New field: Function for emitting relocs. elf_backend_count_relocs: New field: Function for determining the number of relocs to be emitted. * elfxx-target.h: Provide default (NULL) values for elf_backend_emit_relocs and elf_backend_count_relocs. * elflink.h (elf_link_size_reloc_section): Make the hash table big enough to hold the relocs counted by either reloc_count or o->reloc_count. (elf_bfd_final_link) emit_relocs: New boolean, set if relocs should be emitted, either because of a command line option stored in the info structure or because the target provides a special reloc emitting function. If the target provides a reloc counting function use it, unless performing a relocatable link or emitting all relocs. Also set the SEC_RELOC flag on any output section which will contain relocs. (elf_link_input_bfd): emit_relocs: New boolean, set if relocs should be emitted, either because of a command line option stored in the info structure or because the target provides a special reloc emitting function. If the target provides a reloc emitting function, use it, unless performing a relocatable link or emitting all relocs.
2001-06-202001-06-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-29/+34
* elf32-i386.c (elf_i386_size_dynamic_sections): Always allocate local .got space.
2001-06-20Fix for problem with default alignment of .commTom Rix5-8/+83
2001-06-20*** empty log message ***gdbadmin1-1/+1
2001-06-19* cli-out.c: Include "gdb_assert.h'.Andrew Cagney3-3/+64
(struct ui_out_data): Add field ``suppress_output. (cli_table_begin): When NR_ROWS is zero, suppress_output. (cli_table_end): Clear suppress_output. (cli_table_body): Check suppress_output. (cli_table_header, cli_begin): Ditto. (cli_end, cli_field_int, cli_field_skip): Ditto. (cli_field_string, cli_field_fmt, cli_spaces): Ditto. (cli_text, cli_message, cli_wrap_hint): Ditto. * breakpoint.c (breakpoint_1): Close the ui_out table before printing the breakpoint not found message.
2001-06-19 * ldlang.c (lang_check): Emit fatal error if relocatable linkHans-Peter Nilsson2-0/+17
between different object flavours with relocations in input.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-52/+73
* doc/Makefile.in: Regenerated.
2001-06-19Restore file accidentally deleted during man page cleanupNick Clifton1-0/+8897
2001-06-19* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.Andrew Cagney7-14/+38
(default_table_begin): Ditto. * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to ui_out_table_begin. Update everything.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+20
* ld.texinfo (-E, --export-dynamic): Mention --version-script. (--version-script): Mention the language support.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+4
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2001-06-19(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.Andreas Jaeger2-23/+55
2001-06-19Remove auot generated man pagesNick Clifton41-17575/+1937
2001-06-19 * Makefile.in: Revert 2001-06-17.Alan Modra2-4/+11
(VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/.
2001-06-19 * binutils-all/readelf.r: Don't check for specific info value toAndreas Jaeger2-2/+6
pass testsuite on ia64 and alpha.
2001-06-192001-06-18 Philip Blundell <philb@gnu.org>Phil Blundell2-0/+10
* config/tc-arm.c (do_msr): Remove restriction on usage of immediate operands.
2001-06-19 * dwarf2dbg.c (dwarf2_finish): Output file info even when noAlan Modra2-2/+7
line info.
2001-06-19*** empty log message ***gdbadmin1-1/+1
2001-06-18 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Hans-Peter Nilsson5-7/+8
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. * ld.h (args_type): Remove member export_dynamic. All users changed to use struct bfd_link_info member.
2001-06-18 * elflink.h (struct elf_assign_sym_version_info): Remove memberHans-Peter Nilsson4-13/+19
export_dynamic. All users changed to use info member. NAME(bfd_elf,size_dynamic_sections)): Remove parameter export_dynamic, instead use member in parameter info. * bfd-in.h (bfd_elf32_size_dynamic_sections, bfd_elf64_size_dynamic_sections): Update prototype. * bfd-in2.h: Regenerate.
2001-06-18merge from gccDJ Delorie2-0/+5