Timothy Wall
363d7b14a5
Set arch/mach info prior to swapping in sections, so that the swapping
routines have access to the arch/mach info.
27 years ago
Nick Clifton
119a7cedc8
apply patch from MArk Elbrecht tpo update comment and copyright
27 years ago
Jason Molenda
fd6848f679
2000-02-06 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog: Whitespace change to test logging.
* bfd/ChangeLog, dejagnu/ChangeLog, include/ChangeLog, tcl/ChangeLog: Same.
27 years ago
Nick Clifton
fad6fcbb00
Apply patch from Thomas de Lellis to allow nm to distinguish between weak
function symbols and weak data symbols.
27 years ago
Nick Clifton
2f0ca46a49
Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions when
bounded by non-function labels.
27 years ago
Alan Modra
305c72062b
Most of these changes are really only cosmetic. The readelf.c patch
fixes a thinko in get_dynamic_flags. I found at least one message
string that included a `%' being passed to printf in the format
argument.
27 years ago
Nick Clifton
b5f303f092
Remove use of a GCC extension when allocating local arrays.
27 years ago
Nick Clifton
2e4bb80ea1
Fix seeks and reads past the end of a BIM
27 years ago
Nick Clifton
28240dcd30
fix mis-applied patch
27 years ago
Nick Clifton
6b3b007bde
Applied Tim Wall's patch to replace RELSZ and friends with bfd_coff_relsz and
friends.
27 years ago
Nick Clifton
756fa1b9b7
Fix bug in interwork stubs from thumb to arm
27 years ago
Nick Clifton
9a968f4332
Apply Tim walls octest vs bytes patch
27 years ago
Nick Clifton
f45fbf876d
Apply for for CR 102957.
27 years ago
Nick Clifton
0decc84046
Add arm-conix target
27 years ago
Nick Clifton
16e9c715df
Apply patch from Egor Duda to process win32_pstatus notes in core dumps.
27 years ago
Nick Clifton
7a13edea08
ELF visibility patch from Martin Loewis.
27 years ago
Richard Henderson
ea44b73426
* elflink.h (bfd_elf,size_dynamic_sections): Don't export all
if no dynamic sections created.
27 years ago
Nick Clifton
b1f10154aa
fix PE file format detection
27 years ago
Nick Clifton
cb665cd3e2
Move PE format object file detection code into common place.
27 years ago
Nick Clifton
af74ae9911
catch bad arm relocs
27 years ago
Nick Clifton
48dfb43001
Fix detection of common symbols
27 years ago
Andrew Cagney
93be3c4bd2
Add support for sparc-*-netbsdelf* and sparc-*-netbsdaout*.
27 years ago
Nick Clifton
ceddadb217
fix detection of common symbols.
27 years ago
Nick Clifton
a3a8c91d41
Fix elf linker's handling of commons in archive maps
27 years ago
Nick Clifton
77fb9c28ac
Revert previous patch.
27 years ago
Nick Clifton
ad247e3c7d
Change AR for ELF so that common symbols are not included in archive map.
Change LD for ELF so that archive elements whoes archive map contains a
reference to a common symbol will get linkled in.
Add new field to bfd_target structure and initialise it for all bfd targets.
27 years ago
Jim Blandy
6fe6a46127
*** empty log message ***
27 years ago
Ian Lance Taylor
2a6d49ea17
* elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16
value by 4 before storing it back in the field. From
Koundinya. K <kk@ddeorg.soft.net>.
27 years ago
Jeff Law
31f8dc8fce
* archures.c (bfd_mach_am33): Define.
* bfd-in2.h: Rebuilt.
* cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list
* elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions.
(compute_function_info): Handle additional registers saved by
movm on the am33.
(elf_mn10300_mach): Handle E_MN10300_MACH_AM33.
(_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33.
27 years ago
Jim Blandy
98d8431c7d
* elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New
functions.
* bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New
declarations.
27 years ago
Michael Meissner
fe174262ec
Add new relocations for alpha explicit relocation support
27 years ago
Nick Clifton
20cfcaae7b
Add support for target specific processing of ELF segments
27 years ago
Nick Clifton
ba3d4249ed
Add SEC_CODE and SEC_READONLY flags to glue sections.
27 years ago
Nick Clifton
811b4bf61d
Add SEC_CODE and SEC_READONLY flags to glue sections.
27 years ago
Nick Clifton
01ef19d281
fix typoi
27 years ago
Catherine Moore
1ca42bada0
* elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding.
(elf_cpu32_plt_entry): Likewise.
27 years ago
Nick Clifton
078c8694a9
Fix processing of RVA relocs
27 years ago
Richard Henderson
86dc0f79f5
* elf-bfd.h (struct elf_backend_data): Reorder collect and
type_change_ok; add sign_extend_vma.
* elf32-mips.c (elf_backend_sign_extend_vma): Define.
* elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma.
(elf_swap_shdr_in, elf_swap_phdr_in): Likewise.
* elfxx-target.h (elf_backend_sign_extend_vma): Default.
(elfNN_bed): Follow struture changes.
27 years ago
Ian Lance Taylor
0bff3f4bb6
* libbfd.c (bfd_read): Check result of read against desired result
using !=, not <.
(_bfd_generic_get_section_contents): Set bfd_error if the seek is
invalid compared to the section size.
27 years ago
Jeff Law
832fc2027d
* som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND,
R_LINETAB, R_LINETAB_ESC, and R_COMMENT.
27 years ago
Ian Lance Taylor
71a40b32ae
* elflink.h (elf_bfd_final_link): Make last_local signed.
27 years ago
Ian Lance Taylor
8140b6644d
* stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
starts with a zero.
27 years ago
Michael Meissner
7af8cca959
D10V patches from Cagney
27 years ago
Andrew Haley
a67a877774
1999-10-15 Andrew Haley <aph@cygnus.com>
* dwarf1.c (parse_die): Fail to parse a die if its length is zero.
27 years ago
Jeff Law
7a7191b720
* libhppa.h (bfd_hppa_insn2fmt): Change to return an int.
27 years ago
Ian Lance Taylor
64df8d0bce
* elflink.h (elf_merge_symbol): When overriding a weak symbol with
a defined symbol in a shared library, clear the DEF_DYNAMIC flag
too.
27 years ago
Geoffrey Keating
0af9979518
* elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
relocs also need the GP value.
(_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs
properly. Handle sign-extension for R_MIPS_64 correctly. Correct
the GP value for R_MIPS_LITERAL relocs too. Handle
R_MIPS_64 relocs properly on big-endian MIPS.
(mips_elf_sign_extend): Behave properly with 'long long'.
(mips_elf_highest): Correct typo.
27 years ago
Doug Evans
a23ef39fe9
* archures.c (bfd_mach_m32rx): Define it.
* bfd-in2.h: Rebuild.
27 years ago
Doug Evans
e916b64e85
* cpu-m32r.c (arch_info_struct): New static global.
(bfd_m32r_arch): Refer to it.
* elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH.
(m32r_elf_print_private_bfd_data): Ditto.
(m32r_elf_final_write_processing): Handle bfd_mach_m32rx.
27 years ago
Richard Henderson
f4bda9848f
Fred Fish <fnf@cygnus.com>
* targets.c (cisco_core_vec): Replaced with two new vecs ...
(cisco_core_big_vec): Add new bigendian vec.
(cisco_core_little_vec): Add new little endian vec.
* cisco-core.c (CRASH_INFO): Fixed offset replaced with ...
(crash_info_locs): Add array of possible offsets.
(MASK_ADDR): Mask to apply to crash info offset.
(crashinfo_external): Add textbase, database, bssbase and
turn into a typedef.
(cisco_core_file_validate): Renamed from cisco_core_file_p.
Many small changes to account for additional hardware versions.
Pick a reasonable size for ".reg" section. Add a ".crash"
section to allow access to crashinfo_external struct.
(cisco_core_file_p): New version of this function that
iterates over crash_info_locs, calling cisco_core_file_validate.
(cisco_core_vec): Old big endian only vec replaced with ...
(cisco_core_big_vec): Add big endian version.
(cisco_core_little_vec): Add little endian version.
* configure.in (cisco_core_vec): Split to two new vectors ...
(cisco_core_big_vec): New target vector.
(cisco_core_little_vec): New target vector.
* configure: Regenerate.
* config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec
to cisco_core_big_vec in targ_selvecs.
27 years ago