aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-09 * scripttempl/elf.sc: Move non-text .dynamic section beforeAlan Modra18-19/+45
.plt/.got/.sdata* group. (OTHER_GOT_SECTIONS): Move to immediately after .got. (OTHER_SDATA_SECTIONS): Add. * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than OTHER_GOT_SECTIONS. * emulparams/crislinux.sh: Likewise. * emulparams/elf32b4300.sh: Likewise. * emulparams/elf32bmip.sh: Likewise. * emulparams/elf32bmipn32.sh: Likewise. * emulparams/elf32bsmip.sh: Likewise. * emulparams/elf32btsmip.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32elmip.sh: Likewise. * emulparams/elf32l4300.sh: Likewise. * emulparams/elf32lmip.sh: Likewise. * emulparams/elf32lsmip.sh: Likewise. * emulparams/elf32ltsmip.sh: Likewise. * emulparams/elf64bmip.sh: Likewise. * emulparams/elf64btsmip.sh: Likewise. * emulparams/elf64ltsmip.sh: Likewise.
2001-08-09Fix formattingNick Clifton3-83/+100
2001-08-09Change 'partial_inplace' to true (this target uses REL relocations) andNick Clifton2-2/+8
'pcrel_offset' to false (the PC is implied, not stored in the offset).
2001-08-09merge from gccDJ Delorie2-4/+25
2001-08-09*** empty log message ***gdbadmin1-1/+1
2001-08-082001-08-08 Don Howard <dhoward@redhat.com>Don Howard2-2/+7
* stabsread.c (read_type): Add support for const and volatile modifiers.
2001-08-08 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code forAlan Modra2-32/+34
determining reloc type with code reading operands->reloc field.
2001-08-08 * ppc.h (struct powerpc_operand): New field `reloc'.Alan Modra4-72/+91
* ppc-opc.c: Include "bfd.h". (powerpc_operands): Add new field for reloc type.
2001-08-08 * genscripts.sh: Source the emulparams script before each outputAlan Modra2-12/+24
script is generated so that variables like `RELOCATING' may affect variables defined in the emulparams script.
2001-08-08 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a globalAlan Modra3-34/+36
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here. * config/obj-elf.h (elf_copy_symbol_attributes): Declare. (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
2001-08-08 * elf-bfd.h (struct elf_backend_data): Add want_got_sym.Alan Modra4-17/+34
* elfxx-target.h (elf_backend_want_got_sym): Define. (elfNN_bed): Add elf_backend_want_got_sym. * elflink.c (_bfd_elf_create_got_section): Define _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
2001-08-08* readelf.c (display_debug_info): Add to abbrev_offset the addendAlexandre Oliva2-0/+69
of any RELA relocation for the abbrev_offset memory location that refers to the .debug_abbrev section symbol.
2001-08-08* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.Alexandre Oliva2-2/+90
(find_rela_addend): New function. (parse_comp_unit): Call it to find the abbrev offset addend. (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new members of dwarf2_debug as debugging information is read.
2001-08-08 * output-file.c (output_file_create): Don't try to open usingAlan Modra2-6/+5
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
2001-08-08*** empty log message ***gdbadmin1-1/+1
2001-08-072001-08-07 H.J. Lu <hjl@gnu.org>H.J. Lu2-8/+18
* readelf.c (process_file): Return 0 if OK, otherwise return 1. (main): Return process_file ().
2001-08-07Support relocs for sh-coff targets as well as sh-pe.Nick Clifton2-6/+11
2001-08-07Replace a bunch of magic constants in tc-mips.c with their properThiemo Seufer2-42/+54
defines from mips.h.
2001-08-07Some formatting fixes and assorted cleanup in tc-mips.c.Thiemo Seufer2-98/+70
2001-08-07 * config/tc-mips.c (md_begin): Take -mcpu value into account even whenThiemo Seufer2-13/+60
-mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs mutually exclusive (if they are different). (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is set more than once.
2001-08-07 * mips-dis.c (print_insn_arg): Don't use software integer registersThiemo Seufer8-48/+68
for coprocessor registers. (_print_insn_mips): Get distinction between old ABI and new ABI right.
2001-08-07*** empty log message ***gdbadmin1-1/+1
2001-08-062001-08-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+8
* gdb.base/completion.exp: Remove the symbol "a64l" from the expect string; this is target-specific, and not related to what is being tested.
2001-08-06*** empty log message ***gdbadmin1-1/+1
2001-08-052001-08-05 Philip Blundell <philb@gnu.org>Phil Blundell2-3/+7
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-052001-08-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/cris/operand-err-1.s: Updated.
2001-08-052001-08-04 H.J. Lu <hjl@gnu.org>H.J. Lu24-14/+107
Chris G. Demetriou <cgd@broadcom.com> * gas/mips/e32-rel4.s: Removed. * gas/mips/e32-rel4.d: Use elf-rel4.s. * gas/mips/mips.exp: Use the same rel4 test for litte endian. * gas/mips/mips-abi32-pic.d: Add lines for objdump. * gas/mips/mips-abi32.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp32.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-gp32-fp64.d: Likewise. * gas/mips/mips-gp64-fp32-pic.d: Likewise. * gas/mips/mips-gp64-fp32.d: Likewise. * gas/mips/mips-gp64-fp64-pic.d: Likewise. * gas/mips/mips-gp64-fp64.d: Likewise. * gas/mips/mips-abi32-pic.s: Add space for objdump. * gas/mips/mips-abi32.s: Likewise. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp32.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp32-fp64.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp32.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp64.s: Likewise. * gas/mips/mips-abi32-pic.s: Add the missing .end. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise.
2001-08-05*** empty log message ***gdbadmin1-1/+1
2001-08-042001-08-02 Dave Brolley <brolley@redhat.com>Dave Brolley2-2/+6
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in thisAlan Modra2-2/+5
order.
2001-08-04 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,Alan Modra2-57/+84
ie. iterate over wild_statement.section_list. (gld${EMULATION_NAME}_place_orphan): Likewise.
2001-08-04merge from gccDJ Delorie2-1/+5
2001-08-04*** empty log message ***gdbadmin1-1/+1
2001-08-032001-08-03 John Healy <jhealy@redhat.com>John Healy2-0/+7
Patch suggested by Frank Eigler <fche@redhat.com>. * objdump.c (disassemble_data): Fill in section member of the disasm_info structure.
2001-08-03 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_TDaniel Jacobowitz2-4/+7
and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
2001-08-03 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handleStephane Carrez3-40/+224
.fini[0-4] sections used by _exit (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. * scripttempl/elfm68hc11.sc: Likewise.
2001-08-032001-08-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* emultempl/beos.em (init): Add the missing initialization.
2001-08-03 * gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test.Richard Sandiford5-2/+56
* gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test. * gas/mips/mips.exp: Run new tests.
2001-08-03*** empty log message ***Richard Sandiford1-0/+7
2001-08-03 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol valueRichard Sandiford2-1/+8
from GPREL addends.
2001-08-03* configure.in: Added --with-windres option.DJ Delorie3-0/+12
* configure: Regenerated.
2001-08-03Include offset of reloc from start of section when computing value forNick Clifton2-1/+7
R_ARM_REL32 reloc.
2001-08-03 * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don'tAlan Modra3-5/+15
keep relocs for undefined syms if there are no dynamic sections in executable. * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.
2001-08-03 * ld.texinfo (Input Section Basics): Clarify ordering of outputAlan Modra7-202/+269
sections. * ldlang.c (callback_t): Add wildcard_list param. (walk_wild_section): Remove "section" param. Rewrite for lang_wild_statement_type change. Remove unique_section_p test. (walk_wild_file): Remove "section" param. (walk_wild): Remove "section" and "file" params. (lang_gc_wild): Likewise. (wild): Likewise. Modify for lang_wild_statement_type change. (wild_sort): Likewise. Add "sec" param. (gc_section_callback): Likewise. (output_section_callback): Likewise. Do unique_section_p test. (map_input_to_output_sections): Modify call to wild. (lang_gc_sections_1): Likewise. (print_wild_statement): Modify for lang_wild_statement_type change. (lang_add_wild): Replace filename, filenames_sorted param with filespec. Replace section_name, sections_sorted, exclude_filename_list with section_list. * ldlang.h (lang_add_wild): Here too. (lang_wild_statement_type): Replace section_name, sections_sorted, and exclude_filename_list with section_list. * ldgram.y (current_file): Delete. (%union): Add wildcard_list. (file_NAME_list): Set type to wildcard_list. Build a linked list rather than calling lang_add_wild for each entry. (input_section_spec_no_keep): Call lang_add_wild here instead. * ld.h (struct wildcard_list): Declare. * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2001-08-03*** empty log message ***gdbadmin1-1/+1
2001-08-02merge from gccDJ Delorie2-0/+10
2001-08-022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>Charles Wilson6-25/+709
* ldmain.c (main): initialize link_info.pei386_auto_import * pe-dll.c: new tables for auto-export filtering (auto_export): change API, pass abfd for contextual filtering. Loop thru tables of excluded symbols instead of comparing "by hand". 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> * pe-dll.c: new variable pe_dll_enable_extra_debug. New static variable current_sec (static struct sec *). Add forward declaration for add_bfd_to_link. (process_def_file): Don't export undefined symbols. Do not export symbols starting with "_imp__". Call auto_export() with new API. (pe_walk_relocs_of_symbol): New function. (generate_reloc): add optional extra debugging (pe_dll_generate_def_file): eliminate extraneous initial blank line in output (make_one): enlarge symtab to make room for __nm__ symbols (DATA auto-import support). (make_singleton_name_thunk): New function. (make_import_fixup_mark): New function. (make_import_fixup_entry): New function. (pe_create_import_fixup): New function. (add_bfd_to_link): Specify that 'name' argument is a CONST char *. * pe-dll.h: declare new variable pe_dll_extra_pe_debug; declare new functions pe_walk_relocs_of_symbol and pe_create_import_fixup. * emultempl/pe.em: add new options --enable-auto-import, --disable-auto-import, and --enable-extra-pe-debug. (make_import_fixup): New function. (pe_find_data_imports): New function. (pr_sym): New function. (gld_${EMULATION_NAME}_after_open): Add optional extra pe debugging. Call pe_find_data_imports. Mark .idata as DATA, not CODE. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add additional documentation for --export-all-symbols. Document --out-implib, --enable-auto-image-base, --disable-auto-image-base, --dll-search-prefix, --enable-auto-import, and --disable-auto-import. * ldint.texinfo: Add detailed documentation on auto-import implementation.
2001-08-02 * bfdlink.h (struct bfd_link_info): add new booleanCharles Wilson2-0/+9
field pei386_auto_import.
2001-08-022001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>Charles Wilson3-3/+30
* cofflink.c (coff_link_check_ar_symbols): also search for __imp__symbol as well as _symbol. * linker.c (_bfd_generic_link_add_archive_symbols): also search for __imp__symbol as well as _symbol.
2001-08-022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>Charles Wilson1-5/+156
* ldmain.c (main): initialize link_info.pei386_auto_import * pe-dll.c: new tables for auto-export filtering (auto_export): change API, pass abfd for contextual filtering. Loop thru tables of excluded symbols instead of comparing "by hand". 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> * pe-dll.c: new variable pe_dll_enable_extra_debug. New static variable current_sec (static struct sec *). Add forward declaration for add_bfd_to_link. (process_def_file): Don't export undefined symbols. Do not export symbols starting with "_imp__". Call auto_export() with new API. (pe_walk_relocs_of_symbol): New function. (generate_reloc): add optional extra debugging (pe_dll_generate_def_file): eliminate extraneous initial blank line in output (make_one): enlarge symtab to make room for __nm__ symbols (DATA auto-import support). (make_singleton_name_thunk): New function. (make_import_fixup_mark): New function. (make_import_fixup_entry): New function. (pe_create_import_fixup): New function. (add_bfd_to_link): Specify that 'name' argument is a CONST char *. * pe-dll.h: declare new variable pe_dll_extra_pe_debug; declare new functions pe_walk_relocs_of_symbol and pe_create_import_fixup. * emultempl/pe.em: add new options --enable-auto-import, --disable-auto-import, and --enable-extra-pe-debug. (make_import_fixup): New function. (pe_find_data_imports): New function. (pr_sym): New function. (gld_${EMULATION_NAME}_after_open): Add optional extra pe debugging. Call pe_find_data_imports. Mark .idata as DATA, not CODE. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add additional documentation for --export-all-symbols. Document --out-implib, --enable-auto-image-base, --disable-auto-image-base, --dll-search-prefix, --enable-auto-import, and --disable-auto-import. * ldint.texinfo: Add detailed documentation on auto-import implementation.