Nick Clifton
4081944fd1
Only check associated vector if the matching_vector has been created.
24 years ago
Alan Modra
ef574fb1a5
daily update
24 years ago
Alan Modra
4a2c63e9d1
daily update
24 years ago
Alexandre Oliva
060dc71d21
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.
24 years ago
Alan Modra
9ba3f0f225
daily update
24 years ago
Nick Clifton
a3476bef94
If a section holds uninitialized data and is from an object file or from an
executable image that has not initialized the s_size field, or if the physical
size is padded, use the virtual size (stored in s_paddr) instead.
24 years ago
Nick Clifton
ca4fa240d6
Properly report filename for alignment reduction.
Add test for alignment reduction.
24 years ago
Nick Clifton
c2dcd04ec8
Replace occurrances of 'Hitachi' with 'Renesas'.
24 years ago
Alan Modra
047822a581
daily update
24 years ago
Nick Clifton
f7661995e8
Maintain maximum alignment for common symbols. Warn reducing alignment for
common symbols. Report old filename when symbol size changes.
24 years ago
Alan Modra
151123adc8
daily update
24 years ago
Alan Modra
003fbf3f0f
daily update
24 years ago
Alexandre Oliva
93a2b7ae81
* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
occurrences of the same test changed in the previous patch.
Optimize.
24 years ago
Alexandre Oliva
0176c794f8
* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
(mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to
GOT_DISP/addend only if the symbol got a global GOT entry.
24 years ago
Alan Modra
2a8e99b308
daily update
24 years ago
Alexandre Oliva
0fdc1bf125
* elfxx-mips.c (mips_elf_calculate_relocation): Decay
GOT_PAGE/GOT_OFST referencing overridable symbol to
GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing
global symbol as GOT_DISP.
24 years ago
Alan Modra
9f34b04bdf
daily update
24 years ago
Bob Wilson
9b8c98a411
* elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
next relocation on an undefined symbol.
24 years ago
Alan Modra
ac299f1784
daily update
24 years ago
Richard Henderson
ec1659c846
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.
24 years ago
H.J. Lu
7dfb07f7c2
2003-04-09 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
24 years ago
Alexandre Oliva
a3805e4e10
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.
24 years ago
Alexandre Oliva
69931e6013
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
pointer size from ABI, not arch_bits_per_address.
24 years ago
Alan Modra
7a3d2ef920
daily update
24 years ago
Alan Modra
07d5e0b978
daily update
24 years ago
Kevin Buettner
59a8c196af
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
constants for n32 ABI.
24 years ago
Alan Modra
53b063522f
daily update
24 years ago
Nick Clifton
8e16317ca5
(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
vs BFD memory corruption.
24 years ago
Alan Modra
d1c6921f66
daily update
24 years ago
Alan Modra
1ec9c9cf1f
daily update
24 years ago
Stephane Carrez
196486bed9
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
symbols that mark the end of the section.
(m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
converting to a relative branch so that the offset is computed after
the relaxation; also relocate a jsr into a bsr if possible but don't
relax them if they are to a far symbol as we need to call the
trampoline code.
(elf_m68hc11_howto_table): Set pcrel_offset to true.
24 years ago
Svein Seldal
be33c5dd4d
Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update
24 years ago
Alan Modra
8bacb1607c
daily update
24 years ago
Nick Clifton
ff0c9faf3b
(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
executables.
(coff_swap_scnhdr_in): Only set the s_size field for object files or for
executables who have not already initialised the field.
(bfd_pe_executable_p): New macro. Return true if the PE format bfd is an
executable.
24 years ago
Alan Modra
c8b21ee577
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.
24 years ago
Alan Modra
2b98e6c032
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.
24 years ago
Alan Modra
03189cd937
daily update
24 years ago
Bob Wilson
9240357975
* xtensa-modules.c: Remove comment indicating that this is a
generated file.
24 years ago
Alan Modra
5eb7f2340a
daily update
24 years ago
Alan Modra
c45a316a0b
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
24 years ago
Nick Clifton
e0001a05d2
Add Xtensa port
24 years ago
Nick Clifton
5a6c681789
Fixes for iWMMXt contribution.
24 years ago
Ben Elliston
0cc1cf992d
* dwarf2.c (read_attribute_value): Correct typo in comment.
24 years ago
Nick Clifton
d63fd5d103
Make add_line_info() take a copy of the filename.
24 years ago
Nick Clifton
af3ef9fe5c
Remove use of concat() inside concat_filename()
24 years ago
Daniel Jacobowitz
6e84a90684
* simple.c (bfd_simple_get_relocated_section_contents): Add
parameter symbol_table. Optionally use it instead of the symbol
table from the bfd. Save and restore output offsets and output
sections around bfd_get_relocated_section_contents. Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise. Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.
24 years ago
Alan Modra
8f3c2f1544
daily update
24 years ago
Nick Clifton
5ed6aba41c
Fix memory leaks
24 years ago
Alan Modra
915003af10
daily update
24 years ago
Alan Modra
07f9a27db4
daily update
24 years ago