Commit Graph

3540 Commits

Author SHA1 Message Date
Doug Evans
20b2c808b8 * Makefile.am (ALL_MACHINES,BFD32_BACKENDS): Add txvu support.
(cpu-txvu.lo,elf32-txvu.lo): Add rules for.
	* Makefile.in: Rebuild.
	* config.bfd, configure.in: Add txvu support.
	* configure: Regenerate.
	* archures.c, elf.c, targets.c: Add txvu support.
	* bfd-in2.h: Regenerate.
	* cpu-txvu.c, elf32-txvu.c: New files.
1997-12-22 16:47:21 +00:00
Ian Lance Taylor
d92329a97c * Makefile.am: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add dwarf2.lo.
	(ALL_MACHINES_CFILES): Add dwarf2.c.
	* Makefile.in: Rebuild.
1997-12-22 10:51:42 +00:00
Ian Lance Taylor
8e2eebc8c8 * coff-arm.c: Don't include obstack.h. 1997-12-22 10:50:06 +00:00
Ian Lance Taylor
372b296c81 rebuild with devo autoconf 1997-12-22 10:24:37 +00:00
Ian Lance Taylor
3ce77f61f3 rebuild 1997-12-22 10:23:57 +00:00
Ian Lance Taylor
0b3fcc1c53 Mon Dec 22 13:04:33 1997 Joel Sherrill <joel@oarcorp.com>
* config.bfd (i[3456]86*-go32-rtems*): Fix to be the same as
	i[3456]86-go32.
1997-12-22 10:05:34 +00:00
Nick Clifton
6124cd1e59 Fixed segmentation violation detected by LD testsuite. 1997-12-17 12:51:37 +00:00
Nick Clifton
0f9d6eeb60 Fail if there is not enough room for program headers. 1997-12-17 09:47:59 +00:00
Gavin Romig-Koch
6ac2511d20 add dwarf2.c 1997-12-17 08:17:03 +00:00
Brendan Kehoe
f07263913a note that the fix for --enable-shared is not the real way it needs to
be done; libtool.m4 needs a change of some sort instead
1997-12-16 16:16:41 +00:00
Nick Clifton
085e370b46 Fixed m32rx sanitization 1997-12-16 16:04:57 +00:00
Nick Clifton
a3240f6857 Added m32rx sanitization. 1997-12-16 14:38:21 +00:00
Gavin Romig-Koch
eae435160e Add _bfd_dwarf2_find_nearest_line. 1997-12-16 05:14:30 +00:00
Nick Clifton
2e0a5c1051 improve support for m32rx processor. 1997-12-16 00:12:39 +00:00
Fred Fish
f60c3b7080 * coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined.
(coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE
	to decide when to align the file sections for paging.
	* coffcode.h (ALIGN_SECTIONS_IN_FILE): Undefine for TIC80COFF.
PR 13814
1997-12-15 23:16:12 +00:00
Nick Clifton
a5fdb81613 Add support for m32rx processor. 1997-12-15 23:10:11 +00:00
Brendan Kehoe
3607f666e6 * configure: Only build libbfd shared if --enable-shared's value
was `yes', or was set to `*bfd*'.
        * aclocal.m4: Likewise.

so `--enable-shared=libstdc++' doesn't result in building a shared libbfd.
1997-12-15 19:52:32 +00:00
Nick Clifton
cd66558c07 Renamed v850eq -> v850ea 1997-12-12 19:05:07 +00:00
Richard Henderson
5b3a74e8b8 * linker.c (generic_link_add_symbol_list): Always init udata.p so
that the generic relaxation code can function when input and output
        file formats are mismatched.
1997-12-12 01:48:58 +00:00
Ian Lance Taylor
a3f1e78a6c * coff-sh.c (bfd_coff_small_swap_table): Initialize new fields. 1997-12-11 06:08:05 +00:00
Ian Lance Taylor
c63729b518 * elf.c (assign_file_positions_for_segments): For a loadable
section, make sure that the load address is correct relative to
	the load address of the segment plus the size of the segment so
	far.
1997-12-11 06:07:10 +00:00
Ian Lance Taylor
86274b9b5c * coffcode.h (_coff_link_output_has_begun): Make static.
(_coff_final_link_postscript): Likewise.
1997-12-11 06:04:39 +00:00
Ian Lance Taylor
5ee8d9327b * elflink.h (elf_link_input_bfd): Handle a relocateable link in
which a relocation refers to an indirect or warning symbol.
1997-12-11 04:38:44 +00:00
Nick Clifton
5b6f4b31fc Fixed overflow from a LO16 reloc into a HI16_S reloc. 1997-12-10 19:20:31 +00:00
Michael Meissner
de7483285a Switch to using RELA relocations for the d30v. 1997-12-10 19:08:51 +00:00
Andrew Cagney
c02ed6a8a3 For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target.
For sim/igen, allow specification of a default machine (will need
more work later).
1997-12-09 04:01:06 +00:00
Nick Clifton
0a5875fc63 Fix HI16 and HI16_S relocations for PR14258 1997-12-06 00:57:20 +00:00
Nick Clifton
22a9f052de Fix PR14180 and 14181 (patch from branch) 1997-12-05 19:37:35 +00:00
Nick Clifton
09888f155f Add support for Thumb target
Restore underscore at the start of user labels.
1997-12-02 18:30:35 +00:00
Joern Rennecke
6fdb746d44 bfd:
* coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry.
        (get_symbol_value): Handle R_SH_SWITCH8.
        (sh_relax_delete_bytes): Likewise.

include:
        * coff/sh.h (R_SH_SWITCH8): New.

gas:
        * config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
        (SWITCH_TABLE): Handle BFD_RELOC_8.
        (md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
        (coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
        (sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
PR 14155
1997-12-01 20:45:03 +00:00
Nick Clifton
f5ddda0fc7 Removed leading underscore..... 1997-11-27 01:44:10 +00:00
Nick Clifton
0fa555ea62 Add C_THUMBEXT etc. 1997-11-26 22:14:52 +00:00
Andrew Cagney
4ccd975a92 FreeBSD has (at least for the i386) a little-endian magic number. 1997-11-26 21:34:05 +00:00
Nick Clifton
803fea795a Do no set private flags if building a PE port. 1997-11-26 17:31:53 +00:00
Nick Clifton
4936eb9abe Do not complain when trying to merge private data from different formats. 1997-11-25 18:57:03 +00:00
Ian Lance Taylor
90d74939df * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo.
(BFD32_BACKENDS_CFILES): Remove tekhex.c.
	* Makefile.in: Rebuild.
	* aclocal.m4, configure, src/Makefile.in: Rebuild with current
	automake and autoconf.
1997-11-25 17:14:09 +00:00
Ian Lance Taylor
cc37e39a14 * coff-arm.c (arm_allocate_interworking_sections): Fix typo
(COFF_WITH_PR to COFF_WITH_PE).
1997-11-25 16:27:55 +00:00
Nick Clifton
33d5d35156 Cut out unused code for PE build. 1997-11-25 02:09:19 +00:00
Nick Clifton
f76d3101e8 Fix for PE build 1997-11-24 23:51:15 +00:00
Nick Clifton
e1aeb28538 Add support for PIC and APCS-FLOAT type binaries. 1997-11-22 23:17:39 +00:00
Ian Lance Taylor
be462f88b4 * sunos.c (sunos_add_one_symbol): When overriding a defined
symbol, set it to undefined, not new.
1997-11-22 22:08:43 +00:00
Ian Lance Taylor
f3fb08f6c5 Sat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de>
* evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup.
1997-11-22 21:08:09 +00:00
Ian Lance Taylor
107dfe1267 fix comment 1997-11-22 21:05:48 +00:00
Ian Lance Taylor
fbf760a8ab * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL
relocs.
1997-11-22 17:31:57 +00:00
Richard Henderson
d627a67430 * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.
(sh_relax_delete_bytes): Don't kill LABEL relocs.

Second bit for PR 14069.
1997-11-21 22:18:09 +00:00
Jeff Law
bf39c4900e * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo.
(mn10300_elf_relax_section): Likewise.
1997-11-17 22:06:48 +00:00
Fred Fish
469e5960b1 * peicode.h (coff_swap_aouthdr_in): Cast second arg of
bfd_h_get_* calls to "bfd_byte *".
1997-11-17 00:26:46 +00:00
Ian Lance Taylor
9793236cc3 Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if
	a version dependency could not be found.
1997-11-10 19:33:59 +00:00
Ian Lance Taylor
d481c877e4 Tue Nov 4 12:05:56 1997 Klaus K"ampf <kkaempf@progis.de>
* configure.com: Get version info from configure.in
1997-11-04 17:06:49 +00:00
Richard Henderson
aa9aa96fac * elf32-sparc.c (elf32_sparc_relocate_section): Give a helpful error
message instead of merely aborting.
        * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

        * elf64-sparc.c (sparc64_elf_check_relocs): Use SEC_ALLOC to control
        whether we output dynamic relocs instead of SEC_DEBUGGING.
        (sparc64_elf_relocate_section): Likewise.
1997-10-31 23:53:51 +00:00