aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-09-122000-09-12 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-0/+47
* elf32-i860.c (elf32_i860_relocate_pc26): New function and prototype. (elf32_i860_relocate_section): Invoke new function from here.
2000-09-11Make debug_sec_names static.Nick Clifton2-1/+6
2000-09-10Emit 8 NULs for target section name instead of dumping core when the targetNick Clifton2-1/+8
symbol is undefined.
2000-09-092000-09-09 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-4/+9
* riscix.c: Remove DEFUN.
2000-09-09Do not initialise flags in output bfd if the input bfd is the defaultNick Clifton2-6/+13
architecture with the default flags.
2000-09-082000-09-08 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-1093/+1046
* archive.c: Fix formatting. * coff-arm.c: Likewise. * doc/chew.c: Likewise.
2000-09-08(bfd_get_unique_section_name): Put a dot before the numeric suffix.Alan Modra2-152/+157
2000-09-072000-09-07 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-78/+97
* doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID.
2000-09-072000-09-07 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-162/+156
* elf.c: Fix formatting.
2000-09-07* config.bfd (sh-*-linux*): Added.Alexandre Oliva9-12/+78
* configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. * targets.c: Declare them. * elf32-sh-lin.c: New file. * Makefile.am: Compile it. * elf32-sh.c: Don't override defines from elf32-sh-lin.c. * configure, Makefile.in: Rebuilt.
2000-09-06 * xcofflink.c (xcoff_link_input_bfd): Include the .tocbssGeoffrey Keating3-9/+45
pseduo-section when determining where the TOC ends. * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to output x_tvndx as it is only two bytes wide. * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute reloc is 26 or 32 bits wide. * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant for relocs that don't change anything. Also look at the full 6 bits of bitsize.
2000-09-062000-09-06 Philip Blundell <philb@gnu.org>Phil Blundell2-1/+5
* config.bfd (arm*-*-uclinux*): New target.
2000-09-06* configure: Rebuilt with new libtool.m4.Alexandre Oliva2-272/+268
2000-09-06`template' isn't a very good name for a variable.Alan Modra3-7/+13
Who invented c++ anyway?
2000-09-06Regenerate files using fixed aclocal install.Nick Clifton5-67/+101
2000-09-05Fix buggy macrosNick Clifton2-603/+269
2000-09-052000-09-05 Steven Johnson <sbjohnson@ozemail.com.au>Geoffrey Keating2-0/+18
* cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry.
2000-09-05Shared lib support.Alan Modra3-748/+3215
2000-09-05(SEC_HAS_GOT_REF): Define new flag for asection.Alan Modra3-5/+79
(bfd_get_unique_section_name): New function.
2000-09-05A tiny addition for PCREL12F relocs, and a fix for functions that haveAlan Modra2-10/+28
been forced local.
2000-09-05Support for vtable relocs.Alan Modra2-62/+109
2000-09-03Fix formatting and spelling mistakesNick Clifton1-52/+52
2000-09-032000-09-03 Philip Blundell <philb@gnu.org>Phil Blundell2-1/+13
* elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate references to undefined symbols in debugging sections.
2000-09-032000-09-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-11/+17
* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH section.
2000-09-032000-09-02 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-0/+26
* elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro. (elf32_i860_is_local_label_name): New function and prototype.
2000-09-02Increase minor version number (to 2.10.91) to help tools detect the newNick Clifton6-3/+368
ability to support removal of duplciate DWARF@ debug information.
2000-09-02Add .gnu.linkobce.wi. to the list of debug section names.Nick Clifton7-124/+168
Update generated files
2000-09-02Find all sections containing debug information and include them in the stash.Nick Clifton2-188/+224
2000-09-02* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,Alexandre Oliva5-14/+1881
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New. (sh_reloc_map): Add new relocs. (sh_elf_check_relocs, sh_elf_link_hash_newfunc, sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol, sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New functions. (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define. (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): New array constants. (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry): New variables. (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset, elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset): Define. (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry, elf_sh_link_hash_table): New structs. (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros. (sh_elf_relocate_section, sh_elf_check_relocs): Handle new relocation types. (elf_backend_create_dynamic_sections, bfd_elf32_bfd_link_hash_table_create, elf_backend_adjust_dynamic_symbol, elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol, elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, elf_backend_plt_readonly, elf_backend_want_plt_sym, elf_backend_got_header_size, elf_backend_plt_header_size): Define. * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): New relocs. * bfd-in2.h, libbfd.h: Rebuilt.
2000-09-01(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.Alan Modra2-3/+6
2000-08-31 * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flagsJoern Rennecke2-1/+7
not initialized, set them to indicate the SH1 instruction set.
2000-08-31* acinclude.m4: Include libtool and gettext macros from theAlexandre Oliva4-1106/+905
top level. * aclocal.m4, configure: Rebuilt.
2000-08-302000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder7-68/+298
* elf.c: Eliminate references to __sparcv9 macro; replace with autoconf variables HAVE_PSINFO32_T etc. * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. * config.in: Ditto. * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. * aclocal.m4: Ditto. * configure: Regenerate.
2000-08-27Reclaim reloc space for symbols that have been forced local.Alan Modra2-43/+63
2000-08-24Allow common symbols to have an alignment of 1 if explicitly requested, andNick Clifton2-1/+10
not overridden by other definitions.
2000-08-22Fix bugs detecting w65 architecture.Nick Clifton3-4/+15
2000-08-222000-08-22 H.J. Lu <hjl@gnu.org>H.J. Lu6-0/+106
* elf-bfd.h (elf_link_hash_table): Add runpath. * bfd-in.h (bfd_elf_get_runpath_list): New prototype. * bfd-in2.h: Rebuilt. * elf.c (_bfd_elf_link_hash_table_init): Initialize the "runpath" field to NULL. (bfd_elf_get_runpath_list): New function. * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and DT_RUNPATH entries.
2000-08-22* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,Alexandre Oliva2-21/+28
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them explicitly. Improve validation of r_type.
2000-08-21Zero out the dynamic allocated content space. Add a comment to remind us thatNick Clifton5-4/+33
one day this ought to be fixed.
2000-08-212000-08-21 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-17/+14
bfd: * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate field with the newly relocated value instead of adding it to the existing immediate field. (elf32_i860_relocate_splitn): Likewise. (elf32_i860_relocate_highadj): Likewise. gas: * config/tc-i860.c (md_apply_fix3): Do not insert the immediate if the fixup resulted in a relocation.
2000-08-162000-08-16 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-10/+35
* elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it was previously just a stub).
2000-08-16* elflink.c (_bfd_elf_create_got_section): Don't abort().Alexandre Oliva2-6/+28
Formatting fixes. (_bfd_elf_create_dynamic_sections): Likewise.
2000-08-16 * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation addressJakub Jelinek2-8/+25
for undefined symbols to be the beginning of the section. * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate four extra entries at the beginning of the .rela.plt section. (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt section to account for the four reserved entries in the .plt section.
2000-08-16* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0Geoffrey Keating3-27/+64
to the list of NOPs we recognize after a branch-and-link. Use the ori NOP when one is needed. * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation for large archives.
2000-08-14Add support for IA-64 specific elf header flags.Jim Wilson2-1/+36
bfd/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. (elf64_ia64_print_private_bfd_data): Likewise. Also handle EF_IA_64_ABSOLUTE. gas/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. (md_begin): Change assignment to md.flag to OR in the new bit. include/elf/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
2000-08-11* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.Alexandre Oliva2-2/+6
2000-08-102000-08-10 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-4/+370
* elf32-i860.c (elf32_i860_relocate_section): New function. (i860_final_link_relocate): New function. (elf32_i860_relocate_splitn): New function. (elf32_i860_relocate_pc16): New function. (elf32_i860_relocate_highadj): New function. (elf32_i860_howto): Minor adjustments to some relocations. (elf_info_to_howto_rel): Define. (elf_backend_relocate_section): Define.
2000-08-10Fix formattingNick Clifton2-141/+139
2000-08-10Fix bug in sh_elf_reloc_loopBernd Schmidt2-1/+5
2000-08-09gas:Jason Eckhardt2-6/+10
2000-08-08 Jason Eckhardt <jle@cygnus.com> * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. (i860_fix_info): New enum. (MD_APPLY_FIX3): Define. (WORKING_DOT_WORD): Define. (TC_HANDLES_FX_DONE): Define. (DIFF_EXPR_OK): Define. (LISTING_HEADER): Define. (TARGET_FORMAT): Select target format based on endian flag. (TARGET_BYTES_BIG_ENDIAN): Default to little endian. (target_big_endian): Add external declaration. * config/tc-i860.c: All existing code reworked completely. Other new code shown below. (SYNTAX_SVR4): Define. (target_warn_expand): New variable. (md_shortopts): Declare and define (-Qy, -Qn, and -V options). (md_longopts): Declare and define with new options (-EL, -EB, and -mwarn-expand). (md_show_usage): New function. (md_operand): New function. (obtain_reloc_for_imm16): New function. (md_apply_fix3): New function. (tc_gen_reloc): New function. include: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * opcode/i860.h: Small formatting adjustments. opcode: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * i860-dis.c (print_br_address): Change third argument from int to long. bfd: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * elf32-i860.c (elf32_i860_howto_table): Updated some fields.