summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* /bfd/ChangeLogThiemo Seufer2001-09-146-10/+41
| | | | | | | | | | | | | * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64. /ChangeLog * config.sub: Change machine triplets from mipsel*-* to mips*el-*. Add support for mips64. /gas/ChangeLog * configure.in: Change machine triplets from mips-*-linux-gnu* to mips*-*-linux*.
* * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.Alexandre Oliva2001-09-132-0/+5
|
* * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.Alexandre Oliva2001-09-132-1/+5
|
* * elf.c (prep_headers): Get the machine code from the elfAlexandre Oliva2001-09-1312-121/+58
| | | | | | | | | | | | | | | | | | | | | | | | backend data. * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. * elf-arc.c (arc_elf_final_write_processing): Don't override e_machine, it's now properly set in prep_headers. * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and EM_AVR_OLD. (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
* 2001-09-12 H.J. Lu <hjl@gnu.org>H.J. Lu2001-09-123-4/+11
| | | | | | | * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and eelf64lppc.o to ... (ALL_64_EMULATIONS): Here. * Makefile.in: Regenerated.
* * readelf.c (guess_is_rela, dump_relocations, get_machine_name,Alexandre Oliva2001-09-122-9/+43
| | | | | | get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V, EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD. Removed EM_CYGNUS_ARC.
* * common.h (EM_AVR_OLD): Renamed from...Alexandre Oliva2001-09-122-5/+25
| | | | | | | | | | (EM_AVR): this, redefined as in the current ELF standard. (EM_PJ_OLD): Renamed from... (EM_PJ): this, redefined as in the current ELF standard. (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in the current ELF standard. (EM_CYGNUS_ARC): Removed, unused for a long time.
* * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.Thiemo Seufer2001-09-122-1/+5
|
* 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>Charles Wilson2001-09-125-14/+143
| | | | | | | | | | | | | | | | | * emultempl/pe.em(make_import_fixup): change signature to take asection as well as arelec; we need this for proper error reporting. Only call pe_create_import_fixup() if there is no attempt to add a constant addend to the reloc; otherwise, report error condition. * pe-dll.c(pe_walk_relocs_of_symbol): change signature, since final argument is a pointer to make_import_fixup(). Change call to cb() to match make_import_fixup() signature. (make_import_fixup_mark): make buffer_len unsigned. * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message.
* * scripttempl/v850.sc: Add gcc_except_table sections.Catherine Moore2001-09-122-0/+8
|
* * elf64-alpha.c (elf64_alpha_section_flags): New.Richard Henderson2001-09-112-1/+24
| | | | (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
* * config/tc-alpha.c (alpha_elf_section_letter): New.Richard Henderson2001-09-115-0/+58
| | | | | | | | (alpha_elf_section_flags): New. * config/tc-alpha.h (md_elf_section_letter): New. (md_elf_section_flags): New. * config/tc-ia64.c (ia64_elf_section_letter): New. * config/tc-ia64.h (md_elf_section_letter): New.
* * elf64-alpha.c (elf64_alpha_relocate_section): Do notRichard Henderson2001-09-112-3/+16
| | | | apply HINT relocations against dynamic symbols.
* 2001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu2001-09-112-1/+6
| | | | | * inker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
* * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' insteadJakub Jelinek2001-09-114-5/+12
| | | | | | of 'm', 'S' instead of 's'. Update bad_msg. * config/tc-ppc.c (ppc_section_letter): Update bad_msg. * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
* 2001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu2001-09-1117-15/+186
| | | | | | | | | | | | | | | | | | | | | | | | * ld-elfweak/elfweak.exp (build_lib): Take a list of object files. (build_exec): Likewise. Add more tests and make some xfail. * ld-elfweak/dso.dsym: Support symbol versioning. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/main1.c: New. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/bar1b.c: Likewise. * ld-elfweak/bar1c.c: Likewise. * ld-elfweak/foo1a.c: Likewise. * ld-elfweak/foo1b.c: Likewise. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/dsowdata.dsym: Likewise. * ld-elfweak/weakdata.dsym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise. * ld-elfweak/weakdata.dat: Likewise. * ld-elfweak/strongdata.dat: Likewise.
* 2001-09-10 H.J. Lu <hjl@gnu.org>H.J. Lu2001-09-1011-0/+447
| | | | | | | | | | | | * ld-elfweak/elfweak.exp: New. * ld-elfweak/bar.c: Likewise. * ld-elfweak/foo.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/dso.dsym: Likewise. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strong.dat: Likewise. * ld-elfweak/weak.dat: Likewise.
* * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.Richard Henderson2001-09-092-438/+7
|
* * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdispRichard Henderson2001-09-092-8/+35
| | | | following a call to a near function.
* Oops, one "likewise" had an intervening entry.Alan Modra2001-09-091-7/+7
|
* * expr.c (expr): Move code setting "retval" to the end of the loop,Alan Modra2001-09-097-76/+174
| | | | | | | | | | | | | | | | | | | | | and rearrange for efficiency. For "PIC code" subtraction, use "rightseg" rather than recalculating. For "symbol OP symbol" subtract, set "retval" to absolute_section if symbols in same section. * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an O_symbol. Simplify a +/- b code. Allow equality and non-equality comparisons on symbols from any section. Allow other comparison operators as for subtraction. (symbol_equated_reloc_p): New predicate function. * symbols.h (symbol_equated_reloc_p): Declare. * write.c (adjust_reloc_syms): Use symbol_equated_reloc_p. (write_relocs): Likewise. (write_object_file): Likewise. (relax_segment <rs_machine_dependent>): Ensure segment for expression syms is set correctly. * config/tc-mips.c (md_estimate_size_before_relax): Likewise. * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part of a complex expression when setting up frag_var.
* * elf64-alpha.c (elf64_alpha_relocate_section): Soft failRichard Henderson2001-09-092-3/+24
| | | | | relocation errors. Fail gp-relative relocations against dynamic symbols.
* * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULARAlan Modra2001-09-083-6813/+6833
| | | | | | | as well as DEF_DYNAMIC in test for avoided copy relocs. (allocate_plt_and_got_and_discard_relocs): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. (allocate_plt_and_got_and_discard_relocs): Likewise.
* mischeckin. fixed.Eric Christopher2001-09-083-4/+4
|
* 2001-09-07 Eric Christopher <echristo@redhat.com>Eric Christopher2001-09-083-4/+9
| | | | | * gas/mips/mips64.d: Change to use mipsisa64. * gas/mips/mips32.d: Change to use mipsisa32.
* * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq withRichard Henderson2001-09-082-27/+37
| | | | | require_seq and allow_seq. Let !literal omit the sequence number. (tokenize_arguments): Reject sequence numbers of !allow_seq.
* * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGEJakub Jelinek2001-09-072-0/+6
| | | | section symbols the same way as externs.
* * emulparams/h8300helf.sh: Move stack to a much higher memory address.Jeff Law2001-09-073-2/+7
| | | | * emulparams/h8300self.sh: Similarly.
* Fix wrong ChangeLog entriesThiemo Seufer2001-09-071-10/+11
|
* Reallow unrestricted use of .set mipsX pseudo-op in gas.Thiemo Seufer2001-09-0713-10/+63
| | | | Update testcases accordingly.
* * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handlingThiemo Seufer2001-09-0715-14/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of R_MIPS_PC16. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded PIC, BFD_RELOC_16_PCREL for the rest. (mips_ip): Likewise. (md_pcrel_from): return the right offset for the differently shifted pcrel relocs. (md_apply_fix): Handle BFD_RELOC_16_PCREL. * gas/mips/beq.d: Check branches to external labels. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. * gas/mips/empic.d: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
* * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTOThiemo Seufer2001-09-062-6953/+6908
| | | | | definitions. (mips_elf64_howto_table_rel): Likewise.
* * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16Thiemo Seufer2001-09-062-0/+39
| | | | relocations, tradtional variant.
* Fix import symbols for AIX.Tom Rix2001-09-069-76/+114
|
* * config/tc-ia64.c (FUNC_IPLT_RELOC): New.Richard Henderson2001-09-052-1/+34
| | | | | | | (pseudo_func): Add @iplt. (pseudo_opcode): Add data16 and data16.ua. (md_begin): Set iplt pseudo. (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
* Set correct value for default (PE) stack size.Nick Clifton2001-09-052-1/+6
|
* * elf64-alpha.c (SKIP_HOWTO): New.Richard Henderson2001-09-055-237/+74
| | | | | | | | | | | | | (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs. Fix sizes of 16-bit mem format relocs. (elf64_alpha_reloc_map): Update to match. (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate. (elf64_alpha_relax_without_lituse): Likewise. (elf64_alpha_check_relocs): Handle GPREL16. (elf64_alpha_relocate_section): Likewise. * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove. (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New. * bfd-in2.h, libbfd.h: Rebuild.
* * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.Richard Henderson2001-09-052-17/+14
| | | | (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
* * alpha.h (struct alpha_operand): Pack elements into bitfields.Richard Henderson2001-09-052-4/+8
|
* * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.Richard Henderson2001-09-0516-851/+731
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove. (alpha_macros): Remove occurrences of same. (O_lituse_addr, O_gprel): New. (DUMMY_RELOC_LITUSE_*): New. (s_alpha_ucons, s_alpha_arch): Prototype. (alpha_reloc_op): Construct elements via DEF macro. (ALPHA_RELOC_SEQUENCE_OK): Remove. (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename members to not be literal specific. (next_sequence_num): New. (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for added/removed BFD relocations. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well. (tokenize_arguments): Parse ! relocations properly. (find_macro_match): Delete unused macro argument types. (assemble_insn): Add reloc parameter; emit that instead of the default as appropriate. (get_alpha_reloc_tag): New. Split from ... (emit_insn): ... here. Allocate a reloc tag for GPDISP. (assemble_tokens): Don't search macros if user relocation present. Copy reloc sequence number to insn struct. (emit_ldgp): Remove user reloc handling. (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise. (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise. (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise. * config/tc-alpha.h (tc_adjust_symtab): Always define. (struct alpha_fix_tag): Name members less literal specific. * gas/alpha/alpha.exp: New file. * gas/alpha/elf-reloc-1.[sd]: New test. * gas/alpha/elf-reloc-2.[sl]: New test. * gas/alpha/elf-reloc-3.[sl]: New test. * gas/alpha/elf-reloc-4.[sd]: New test. * gas/alpha/fp.exp: Remove file. * gas/alpha/fp.s: Output to .data not .rdata. * gas/alpha/fp.d: Adjust to match.
* * readelf.c: Include elf/h8 for H8 series definitions.Jeff Law2001-09-054-1/+22
| | | | | | | | (guess_is_rela): H8 series if RELA. (dump_relocations): Handle H8 series relocations. * testsuite/binutils/all/readelf.exp: Expect readelf -wi to fail for the H8 series.
* Tue Sep 4 20:06:09 2001 Jeffrey A Law (law@cygnus.com)Jeff Law2001-09-056-113/+129
| | | | | | | | | | | | * gas/all/gas.exp (930509a): Expect failure on the H8/300 ELF port. * gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300 ELF toolchain. * gas/h8300/h8300-elf.exp: Likewise. * gas/macros/macros.exp: Expect failure on all H8/300 ports. * gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports.
* * tc-h8300.c (tc_gen_reloc): Give an error if we try to take theJeff Law2001-09-052-2/+17
| | | | address of two symbols in different sections.
* merge from gccDJ Delorie2001-09-043-37/+25
|
* * elf32-h8300.c (elf32_h8_relax_section): New function.Jeff Law2001-09-042-0/+867
| | | | | | | | (elf32_h8_relax_delete_bytes): Likewise. (elf32_h8_symbol_address_p): Likewise. (elf32_h8_get_relocated_section_contents): Likewise. (bfd_elf32_bfd_relax_section): Define. (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
* * elf32-h8300.c (special): New function.Jeff Law2001-09-042-12/+65
| | | | | | | | (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in all relocations. (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8. Fix minor problems with 8bit and 16bit PC relative relocations.
* * i386-dis.c (grps): Don't print the implicit al/ax/eax registerAlan Modra2001-09-042-8/+13
| | | | for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
* 2001-09-03 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-09-032-1/+7
| | | | * configure.in: Enable libstdc++-v3 for h8300 targets.
* * emultempl/beos.em: Declare prototypes for comparions functions,Andreas Jaeger2001-09-032-29/+32
| | | | adjust definitions.
* * emultempl/aix.em: Add missing prototype.Andreas Jaeger2001-09-0310-7/+58
| | | | | | | | | | | | | * emultempl/lnk960.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf_oabi.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/gld960.em: Likewise. * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter for prototype declaration.