aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-03-13* elf32-sh.c (sh_elf_relocate_section): Only relocationDJ Delorie2-5/+43
R_SH_DIR8WP* relocs if they're against external symbols, else they're just for relaxing. Validate the reloc values.
2001-03-13Add --binary-architecture switch to objcopy to allow the output architectureNick Clifton2-0/+17
to be set when the input file type is binary.
2001-03-112001-03-11 Philip Blundell <philb@gnu.org>Phil Blundell2-0/+12
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT entries that could serve as a definition for a weak symbol.
2001-03-08Update copyright noticesNick Clifton272-384/+511
2001-03-07Conditionalize prevbious pathc on ! defined OLD_ARM_ABI.Nick Clifton2-1/+7
2001-03-072001-03-07 Andreas Jaeger <aj@suse.de>Andreas Jaeger2-1/+40
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of some relocation values.
2001-03-06Fix BLX(1) for ThumbNick Clifton3-23/+41
2001-03-06Add BFD_RELOC_THUMB_PCREL_BLX.Nick Clifton2-0/+6
2001-03-06Rest of the changes for Coldfire V4.Nick Clifton6-28/+80
2001-03-01Add s390 targetNick Clifton3-63/+70
2001-02-282001-02-28 Andreas Jaeger <aj@suse.de>Andreas Jaeger2-5/+10
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation to addend.
2001-02-282001-02-28 Philip Blundell <pb@futuretv.com>Phil Blundell2-31/+54
* elf32-arm.h: Update mentions of renamed EF_xx constants. (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
2001-02-272001-02-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if abfd->tdata.aout_data == NULL.
2001-02-27Fix some comments, and a formatting error.Alan Modra2-21/+24
2001-02-27Bump version to 2.11.90, fix missing dependencies in bfd/,Alan Modra6-74/+92
and run "make dep-am".
2001-02-27Update elf64 aix5 comments.Timothy Wall2-16/+10
2001-02-27BFD: Catch & report unhandled PE section flags.Nick Clifton4-565/+649
LD: Catch BFD errors whilst loading symbols and do not produce an executable.
2001-02-262001-02-26 Andreas Jaeger <aj@suse.de>Andreas Jaeger2-3/+7
* elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
2001-02-22ia64-*-aix* support.Timothy Wall7-290/+488
2001-02-22Improve gas error messages for invalid instructions.Jim Wilson2-2/+8
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for C8 said "1" instead of "8". Clarify error string for IMM22: "signed integer" instead of just "integer". * config/tc-ia64.c (enum operand_match_result): New type. (operand_match): Change return type to operand_match_result. Fix all returns appropriately, adding support for returning the out-of-range result. (parse_operands): New locals result, error_pos, out_of_range_pos, curr_out_of_range_pos. Rewrite operand matching loop to give better error messages. * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two separate variants: one for IMM22 and the other for IMM14. * ia64-asmtab.c: Regenerate.
2001-02-202001-02-20 Andreas Jaeger <aj@suse.de>Andreas Jaeger2-0/+12
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make PLT entries that could serve as a definition for a weak symbol.
2001-02-19 * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLTJakub Jelinek3-0/+20
entries that could serve as a definition for a weak symbol. * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.
2001-02-192001-02-18 David O'Brien <obrien@FreeBSD>David O'Brien4-70/+97
* configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat FreeBSD/i386-CURRENT differently until I can figure out the needed corefile changes. * configure: Regenerate. * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, FreeBSD/PowerPC, and FreeBSD/sparc64. Approved by: Philip Blundell <philb@gnu.org> Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-18Add PDP-11 supportNick Clifton17-20/+5171
2001-02-18Set the architecture (GDB multiarch needs it).Nick Clifton3-28/+34
2001-02-182001-02-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+30
* elflink.h (elf_link_input_bfd): Ignore invalid section symbol index.
2001-02-182001-02-18 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-110/+108
* vms-misc.c: Fix formatting.
2001-02-162001-02-16 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-74/+78
* vms.c: Fix formatting.
2001-02-14fixes for elf_find_nearest_lineNick Clifton2-39/+82
2001-02-14Fix initialisation of asection structureNick Clifton2-15/+24
2001-02-14Apply changes to Makefile.in to Makefile.amNick Clifton6-625/+358
2001-02-142001-02-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+8
* libcoff-in.h (pe_tdata): Add members target_subsystem and force_minimum_alignment.
2001-02-142001-02-14 Bo Thorsen <bo@suse.de>Andreas Jaeger2-95/+164
* elf64-x86-64.c: Small formatting fixes and rearrangements of code. (elf64_86_64_size_info): Struct added to fix a problem with the hashtable string entries. (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. (elf64_x86_64_size_dynamic_sections): A FIXME removed. (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and remove the FIXME for this. (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt section. Also removed the FIXME for it. (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
2001-02-13It is SYMTAB, not STMTAB.H.J. Lu1-1/+1
2001-02-13 * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if requiredRichard Henderson2-0/+12
and not user provided.
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-26/+28
* rs6000-core.c: Fix formatting.
2001-02-132001-02-13 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-2/+4
* vms.c (vms_print_symbol): Remove unreachable code.
2001-02-13RegenerateDJ Delorie1-278/+267
2001-02-13* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: DefineDJ Delorie9-93/+225
as _bfd_XXi_only_swap_filehdr_out. (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set pe->force_minimum_alignment to TRUE. (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to PEI_TARGET_SUBSYSTEM. (pe_print_private_bfd_data): Call _bfd_XX_print_private_bfd_data_common() instead of _bfd_pe_print_private_bfd_data_common(). (pe_bfd_copy_private_bfd_data): Call _bfd_XX_bfd_copy_private_bfd_data_common() instead of _bfd_pe_bfd_copy_private_bfd_data_common(). (coff_bfd_copy_private_section_data): Define as _bfd_XX_bfd_copy_private_section_data instead of _bfd_pe_bfd_copy_private_section_data. (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead of a _bfd_pe_get_symbol_info. * peigen.c: Delete. * peXXigen.c: Renamed from peigen.c. (COFF_WITH_XX): Define this macro (will get expanded into COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being compiled as peigen.c or pepigen.c. [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to define the canonical PEP structures and definitions. (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in effect, enforce minimum file and section alignments. If extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, so, by default, this is a no-op). * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to _bfd_pefoo if it's not defined. Use these macros to define coff swap macros. * libcoff.h (pe_tdata): Add members target_subsystem and force_minimum_alignment. * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to COFF_WITH_pep. (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of peigen.lo. * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and PEPAOUTHDR. * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. (BFD64_BACKENDS_CFILES): Mention pepigen.c (peigen.c): Add rule to generate from peXXigen.c. (pepigen.c): Ditto. (pepigen.lo): List dependencies for pepigen.lo. * unwind-ia64.c (unw_decode_x1): Declare code arg with ATTRIBUTE_UNUSED. (unw_decode_x2): Ditto. (unw_decode_x3): Ditto. (unw_decode_x4): Ditto. * pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ. Rename from PEPAOUTHDR.
2001-02-13(elf32_hppa_set_gp): Handle weak $global$.Alan Modra2-1/+18
If $global$ referenced but not defined, set its value here.
2001-02-122001-02-09 Bo Thorsen <bo@suse.de>Jan Hubicka2-9/+90
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section alignment to 3. (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry and relocation. (elf64_x86_64_relocate_section): Fix formatting. (elf64_x86_64_relocate_section): Fix addend for relocation of R_X86_64_(8|16|32|PC8|PC16|PC32).
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka2-1/+5
* tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise.
2001-02-122001-02-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB alignment.
2001-02-11fix formattingNick Clifton1-4/+4
2001-02-11oops - omitted from previous deltaNick Clifton1-2/+2
2001-02-11Apply several patches from Maciej W. RozyckiNick Clifton2-36/+110
2001-02-11 * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.Michael Sokolov3-3/+10
* Makefile.in: Regenerate.
2001-02-10 * elfxx-ia64.c (is_unwind_section_name): New function. ReturnsRichard Henderson2-28/+133
true if section name is an unwind table section name. (elfNN_ia64_additional_program_headers): Count each unwind section separately. (elfNN_ia64_modify_segment_map): Install one unwind program header for each unwind separate section. Note: normally the linker script merges the unwind sections that go into a single segment, so this still generates at most one unwind program header per segment. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section name for SHT_IA_64_UNWIND, not just .IA_64.unwind. (elfNN_ia64_fake_sections): Mark sections with names that start with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 unwind section. * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. Use it to make sh_info in unwind section point to the text section it applies to.
2001-02-10Add s390 supportNick Clifton17-42/+4676
2001-02-09Suppress extra addition of ImageBase.Nick Clifton2-1/+8