aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2001-02-09 * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.Jakub Jelinek2-1/+26
2001-02-09 * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.Jakub Jelinek2-2/+9
(sparc64_elf_relocate_section): Likewise.
2001-02-09* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32Mark Kettenis3-4/+10
similar to R_SPARC_32. * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
2001-02-092001-02-08 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+14
* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 relocation entries for weak definitions when building DSO with -Bsymbolic.
2001-02-09 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weaknessRichard Henderson2-5/+18
before visibility. Locally defined protected symbols are not dynamic.
2001-02-09 * config.bfd: Enable coff64 for rs6000-*. Patch fromGeoffrey Keating2-5/+6
<hzoli@austin.ibm.com>.
2001-02-07If stabs info is successfully found, do not attempt to find dwarf2 infoNick Clifton2-3/+8
before returning.
2001-02-07ignore common definitions of function symbols in unlinked archivesNick Clifton2-4/+15
2001-02-07Change bfd_target_vector from an array to a pointerNick Clifton5-8/+18
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+18
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and internal symbols are not dynamic. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
2001-02-07Remove elf64-ia64.c from list of backend C files - it is auto-generated.Nick Clifton4-171/+615
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-44/+37
* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic checking. (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
2001-02-062001-02-06 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-96/+96
* elf-m10200.c: Fix formatting.
2001-02-04Do not convert reloc addend to PC rel, it will be handled later on.Nick Clifton2-1/+21
2001-02-03Fix typoNick Clifton2-1/+5
2001-02-012001-02-01 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-145/+144
* elf-m10300.c: Fix formatting.
2001-01-31(elf64_hppa_object_p): Set architecture and machine from elf header flags.Alan Modra2-2/+17
2001-01-30Write out millicode functions with the right elf symbol type.Alan Modra2-0/+22
2001-01-30 * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2Richard Henderson2-0/+11
before mdebug.
2001-01-27 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return falseRichard Henderson3-9/+42
for non-default visibility. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but delete ugly macro and replace with pretty function.
2001-01-25DJGPP config tweaksNick Clifton3-7/+15
2001-01-252001-01-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-123/+108
* bfd-in2.h: Fix formatting. * libbfd.h: Likewise.