OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years agoUpdate documentation
Nick Clifton [Wed, 29 Oct 2003 18:21:10 +0000 (18:21 +0000)]
Update documentation

20 years ago * elf64-ppc.c (elf_backend_grok_prstatus): Define.
Alan Modra [Wed, 29 Oct 2003 13:06:06 +0000 (13:06 +0000)]
* elf64-ppc.c (elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
(ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.

20 years ago * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
Alan Modra [Wed, 29 Oct 2003 11:15:24 +0000 (11:15 +0000)]
* elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
sections with the same name.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_grok_note): Likewise.
(elfcore_grok_nto_status): Likewise.
(elfcore_grok_nto_gregs): Likewise.

20 years agodaily update
Alan Modra [Tue, 28 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Mon, 27 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
Daniel Jacobowitz [Mon, 27 Oct 2003 17:33:44 +0000 (17:33 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
objects.

20 years ago * readelf.c (dump_section): Don't display DEL characters.
Alan Modra [Mon, 27 Oct 2003 14:06:45 +0000 (14:06 +0000)]
* readelf.c (dump_section): Don't display DEL characters.

20 years ago * ChangeLog: Fix typos.
Kazu Hirata [Mon, 27 Oct 2003 13:20:32 +0000 (13:20 +0000)]
* ChangeLog: Fix typos.
* ChangeLog-9197: Likewise.
* ChangeLog-9899: Likewise.
* NEWS: Likewise.
* ar.c: Fix comment typos.
* arsup.c: Likewise.
* coffgrok.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* dlltool.c: Likewise.
* ieee.c: Likewise.
* nm.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* readelf.c: Likewise.
* resrc.c: Likewise.
* sysinfo.y: Likewise.
* windres.c: Likewise.

20 years agoDo not complain when copying a file format that does not support relocations.
Nick Clifton [Mon, 27 Oct 2003 12:45:38 +0000 (12:45 +0000)]
Do not complain when copying a file format that does not support relocations.

20 years ago * ChangeLog: Fix typos.
Kazu Hirata [Mon, 27 Oct 2003 12:45:17 +0000 (12:45 +0000)]
* ChangeLog: Fix typos.
* ChangeLog-9295: Likewise.
* as.c: Fix comment typos.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bit_fix.h: Likewise.
* frags.h: Likewise.
* hash.c: Likewise.
* input-file.c: Likewise.
* input-scrub.c: Likewise.
* itbl-ops.c: Likewise.
* itbl-parse.y: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* read.c: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* symbols.c: Likewise.
* symbols.h: Likewise.

20 years ago * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812
Stephane Carrez [Mon, 27 Oct 2003 11:42:30 +0000 (11:42 +0000)]
* ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812
due to elf/Dwarf2 binutils limitation.

20 years ago * scripttempl/elfm68hc12.sc: Define eeprom memory region.
Stephane Carrez [Mon, 27 Oct 2003 10:10:57 +0000 (10:10 +0000)]
* scripttempl/elfm68hc12.sc: Define eeprom memory region.

20 years ago * gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.
Stephane Carrez [Mon, 27 Oct 2003 10:01:51 +0000 (10:01 +0000)]
* gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.
* gas/m68hc11/lbranch-dwarf2.d: Update.

20 years ago * config/tc-m68hc11.c: Convert to ISO C90.
Stephane Carrez [Mon, 27 Oct 2003 09:57:59 +0000 (09:57 +0000)]
* config/tc-m68hc11.c: Convert to ISO C90.
* config/tc-m68hc11.h: Likewise.

20 years ago * m68hc11-dis.c: Convert to ISO C90 prototypes.
Stephane Carrez [Mon, 27 Oct 2003 09:26:13 +0000 (09:26 +0000)]
* m68hc11-dis.c: Convert to ISO C90 prototypes.

20 years ago * doc/c-sh64.texi: Fix a typo.
Kazu Hirata [Mon, 27 Oct 2003 00:06:06 +0000 (00:06 +0000)]
* doc/c-sh64.texi: Fix a typo.

20 years agodaily update
Alan Modra [Sun, 26 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * doc/c-alpha.texi: Fix typos.
Kazu Hirata [Sun, 26 Oct 2003 18:12:03 +0000 (18:12 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-xtensa.texi: Likewise.
* doc/internals.texi: Likewise.

20 years agodaily update
Alan Modra [Sat, 25 Oct 2003 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago * ChangeLog-9197: Fix typos.
Kazu Hirata [Sat, 25 Oct 2003 16:26:30 +0000 (16:26 +0000)]
* ChangeLog-9197: Fix typos.
* NEWS: Likewise.
* ld.texinfo: Likewise.
* ldlang.c: Fix comment typos.

20 years agodaily update
Alan Modra [Sat, 25 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Oct 2003 18:55:39 +0000 (18:55 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Fix a typo.

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Oct 2003 15:41:23 +0000 (15:41 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
for .interp, .strtab and .symtab. Use specified section
attributes.

20 years ago2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Oct 2003 15:40:20 +0000 (15:40 +0000)]
2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Check demangled symbols.

20 years ago * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
Richard Sandiford [Fri, 24 Oct 2003 15:18:29 +0000 (15:18 +0000)]
* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.

20 years agobfd/
H.J. Lu [Fri, 24 Oct 2003 14:55:14 +0000 (14:55 +0000)]
bfd/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
hash table for real symbols.

include/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove
"wildcard".

ld/

2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Check "symbol" instead of
"wildcard" and "pattern". Fix a typo.
(lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(realsymbol): New function.
(lang_new_vers_pattern): Set "symbol" and remove "wildcard".

* ldlex.l (V_IDENTIFIER): Allow '\\'.

20 years agoOops - omitted from patch that added a second parameter to lang_memory_region_lookup.
Nick Clifton [Fri, 24 Oct 2003 09:54:41 +0000 (09:54 +0000)]
Oops - omitted from patch that added a second parameter to lang_memory_region_lookup.

20 years agodaily update
Alan Modra [Fri, 24 Oct 2003 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago2003-10-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 23 Oct 2003 18:27:41 +0000 (18:27 +0000)]
2003-10-23  Michael Snyder  <msnyder@redhat.com>

        * section.c (asection): Fix typo in comment.

20 years ago2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 23 Oct 2003 17:52:00 +0000 (17:52 +0000)]
2003-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the
linker option from gcc.

20 years ago * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
Corinna Vinschen [Thu, 23 Oct 2003 09:43:20 +0000 (09:43 +0000)]
* sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
(EF_SH_MERGE_MACH): Combine them.

20 years ago * ld-powerpc/tlsexetoc.d: Correct.
Alan Modra [Thu, 23 Oct 2003 09:03:02 +0000 (09:03 +0000)]
* ld-powerpc/tlsexetoc.d: Correct.
* ld-powerpc/tlstoc.d: Correct.

20 years ago * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
Alan Modra [Thu, 23 Oct 2003 09:02:33 +0000 (09:02 +0000)]
* elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
reloc symbol index to it.  Don't allow gd syms in shared libs
to be optimized.
(ppc64_elf_tls_optimize): Adjust get_tls_mask call.
(ppc64_elf_size_stubs): Likewise.
(ppc64_elf_relocate_section): Check that tls relocs are only used
with tls syms, and similarly for non-tls.  Correct symbol used
when optimizing toc tls code.

20 years agoAdd ColdFire test
Nick Clifton [Thu, 23 Oct 2003 08:26:19 +0000 (08:26 +0000)]
Add ColdFire test

20 years agogas/
H.J. Lu [Thu, 23 Oct 2003 06:12:17 +0000 (06:12 +0000)]
gas/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>
    Jim Wilson <wilson@specifixinc.com>

* config/tc-ia64.c (update_qp_mutex): New.
(note_register_values): Properly handle one of PRs in compare
is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
Clear mutex relation for .none/.unc. Don't clear mutex relation
on predicated compare.

testsuite/

2003-10-22  Andreas Schwab  <schwab@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-mutex-err.s: Add more tests for compare.
* gas/ia64/dv-mutex.s: Likewise.

* gas/ia64/dv-mutex-err.l: Updated.
* gas/ia64/dv-mutex.d: Likewise.

20 years agomerge from gcc
DJ Delorie [Thu, 23 Oct 2003 00:01:06 +0000 (00:01 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Thu, 23 Oct 2003 00:00:21 +0000 (00:00 +0000)]
daily update

20 years ago(coff_swap_scnhdr_in): Only remove padding when processing an executable.
Nick Clifton [Wed, 22 Oct 2003 15:12:58 +0000 (15:12 +0000)]
(coff_swap_scnhdr_in): Only remove padding when processing an executable.

20 years agobfd/
Jakub Jelinek [Wed, 22 Oct 2003 06:58:17 +0000 (06:58 +0000)]
bfd/
* elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
field changes.
(_bfd_elf_link_assign_sym_version): Likewise.
* elflink.h (size_dynamic_sections): Likewise.
include/
* bfdlink.h (struct bfd_elf_version_expr): Remove match field.
Add wildcard and mask fields.
(BFD_ELF_VERSION_C_TYPE): Define.
(BFD_ELF_VERSION_CXX_TYPE): Likewise.
(BFD_ELF_VERSION_JAVA_TYPE): Likewise.
(struct bfd_elf_version_expr_head): New.
(struct bfd_elf_version_tree): Add match field.
Change type of globals and locals fields
to struct bfd_elf_version_expr_head.
ld/
* ldlang.c: Include hashtab.h.
(lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
lang_vers_match_lang_java): Remove.
(lang_vers_match): New function.
(lang_new_vers_pattern): Initialize wildcard and mask
fields, don't initialize match.
(lang_new_vers_node): Use xcalloc.  Adjust for globals and
locals field type changes.  Set match field.
(version_expr_head_hash, version_expr_head_eq): New functions.
(lang_finalize_version_expr_head): New function.
(lang_register_vers_node): Call lang_finalize_version_expr_head.
Search in hash table if not wildcard when looking for duplicates.
* emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
duplicate checking.  Initialize all fields of dot_entry from entry
with the exception of pattern and next.

20 years agodaily update
Alan Modra [Wed, 22 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
Corinna Vinschen [Tue, 21 Oct 2003 15:49:45 +0000 (15:49 +0000)]
* archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
bfd_mach_sh4a_nofpu): New machine types.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (compatible): Remove unused function.
(SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New.
(arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.

20 years agoAdd warning messages for the use of an undeclared memory region and the
Nick Clifton [Tue, 21 Oct 2003 15:33:47 +0000 (15:33 +0000)]
Add warning messages for the use of an undeclared memory region and the
redefintion of an already declared region.

20 years agoFix up error messages for Maverick.
Nick Clifton [Tue, 21 Oct 2003 14:20:40 +0000 (14:20 +0000)]
Fix up error messages for Maverick.

20 years agoSet the machine number as well as the architecture when converting from a
Nick Clifton [Tue, 21 Oct 2003 14:08:12 +0000 (14:08 +0000)]
Set the machine number as well as the architecture when converting from a
binary file to another file type.

20 years agoAdd ColfFire v4 support
Nick Clifton [Tue, 21 Oct 2003 13:28:59 +0000 (13:28 +0000)]
Add ColfFire v4 support

20 years agomerge from gcc
DJ Delorie [Tue, 21 Oct 2003 00:06:36 +0000 (00:06 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Tue, 21 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * cplus-dem.c (demangle_template): Register a new Btype only
Joel Brobecker [Mon, 20 Oct 2003 23:50:37 +0000 (23:50 +0000)]
* cplus-dem.c (demangle_template): Register a new Btype only
when needed.
* testsuite/demangle-expected: Add a new test.

20 years ago* configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
DJ Delorie [Mon, 20 Oct 2003 21:53:45 +0000 (21:53 +0000)]
* configure.in (*-*-vxworks):  Add target-libiberty to noconfdirs.
* configure:  Regenerate.

20 years ago2003-10-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 20 Oct 2003 14:38:42 +0000 (14:38 +0000)]
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* targets.c: Replace "struct sec" with "struct bfd_section"
* syms.c, sparclynx.c, section.c, opncls.c: Ditto.
* libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
* elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
* aout-tic30.c, aout-target.h:
* bfd-in2.h, libcoff.h, libbfd.h: Regenerate.

Index: binutils/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* coffgrok.h (coff_section): Replace 'struct sec" with "struct
bfd_section".

Index: gdb/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* symtab.c: Replace "struct sec" with "struct bfd_section".
* objfiles.c, linespec.c, blockframe.c, block.c: Ditto.

Index: ld/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* pe-dll.c: Replace "struct sec" with "struct bfd_section".

Index: sim/common/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* sim-base.h: Replace "struct sec" with "struct bfd_section".

20 years agodaily update
Alan Modra [Mon, 20 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * config/tc-mips.c (normalize_constant_expr): New function to fix sign
Thiemo Seufer [Sun, 19 Oct 2003 21:50:43 +0000 (21:50 +0000)]
* config/tc-mips.c (normalize_constant_expr): New function to fix sign
extensions broken by gas' expression evaluation of constants.
(check_absolute_expr): Use it.
(mips_ip): Likewise.

20 years ago * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
Marek Michalkiewicz [Sun, 19 Oct 2003 16:46:14 +0000 (16:46 +0000)]
* Makefile.am: Remove old (before GCC 3.3) emulations for AVR
target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
avrmega161, avrmega603.  Default to avr2.
* Makefile.in: Regenerate.
* configure.tgt: Likewise.
* emulparams/avr1200.sh: Remove.
* emulparams/avr23xx.sh: Remove.
* emulparams/avr4433.sh: Remove.
* emulparams/avr44x4.sh: Remove.
* emulparams/avr85xx.sh: Remove.
* emulparams/avrmega103.sh: Remove.
* emulparams/avrmega161.sh: Remove.
* emulparams/avrmega603.sh: Remove.
* scripttempl/elf32avr.sc: Remove.

20 years ago * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
Andreas Schwab [Sun, 19 Oct 2003 15:58:18 +0000 (15:58 +0000)]
* emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
newline to message.

20 years ago * deffilep.y: Remove commas from %token lines.
Andreas Schwab [Sun, 19 Oct 2003 15:21:31 +0000 (15:21 +0000)]
* deffilep.y: Remove commas from %token lines.

20 years ago * mmix.h (JMP_INSN_BYTE): Define.
Hans-Peter Nilsson [Sun, 19 Oct 2003 01:16:56 +0000 (01:16 +0000)]
* mmix.h (JMP_INSN_BYTE): Define.

20 years agodaily update
Alan Modra [Sun, 19 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
Hans-Peter Nilsson [Sat, 18 Oct 2003 16:05:02 +0000 (16:05 +0000)]
* ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass
--no-pushj-stubs to the assembler.
* ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d,
ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d,
ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d,
ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d,
ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d,
ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d,
ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d,
ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d,
ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests.

20 years ago * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
Hans-Peter Nilsson [Sat, 18 Oct 2003 16:00:21 +0000 (16:00 +0000)]
* gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
--no-pushj-stubs option.
* gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs
option.
* gas/mmix/reloclab.l: Adjust for PUSHJ stub.
* gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s,
gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d,
gas/mmix/weak1-s.d: New tests.

20 years ago Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:53:40 +0000 (15:53 +0000)]
Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
* doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
--no-stubs.
* config/tc-mmix.c: Include limits.h.  Expand on mmix_relax_table
comment.
(expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
(pushj_stubs): New variable.
(OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
(PUSHJSTUB_MAX): New macros.
(md_longopts): New options "--no-pushj-stubs" and synonym
"--no-stubs".
(mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
(md_parse_option): Handle OPTION_NOPUSHJSTUBS.
(md_estimate_size_before_relax): Modify STATE_PUSHJ state for
PUSHJ stub relaxation.
(md_convert_frag): Handle STATE_PUSHJSTUB.
(md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
(tc_gen_reloc): Ditto.
(mmix_md_relax_frag): Handle PUSHJ stub relaxation.
* config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
(struct mmix_segment_info_type): New.

20 years ago * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:49:10 +0000 (15:49 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
relaxation always; don't exclude relocatable linking.  Adjust for
_bfd_mmix_prepare_linker_allocated_gregs renamed to
_bfd_mmix_before_linker_allocation.
(mmix_after_allocation): Adjust for
_bfd_mmix_finalize_linker_allocated_gregs renamed to
_bfd_mmix_after_linker_allocation.
* scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).

20 years ago * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:46:35 +0000 (15:46 +0000)]
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.

20 years ago Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:42:40 +0000 (15:42 +0000)]
Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
* elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro.
(struct _mmix_elf_section_data): New member pjs.
(mmix_set_relaxable_size, mmix_elf_get_section_contents): New
functions.
(elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE.
(mmix_reloc_map): Ditto.
(mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE.
(mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto.
(mmix_elf_perform_relocation): Ditto.  Don't mark parameter addr
unused.
(mmix_elf_check_relocs): Move early return to after
mmix_elf_check_common_relocs call.
(mmix_elf_symbol_processing): Fix cut-and-pasto in head comment.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.  All referers changed.
Arrange to set the initial relaxable size of sections.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc.
(bfd_elf64_get_section_contents): Define.
* reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
* libbfd.h, bfd-in2.h: Regenerate.

20 years agodaily update
Alan Modra [Sat, 18 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * ldlang.c (lang_size_sections): Last, set _cooked_size for output
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:05:50 +0000 (23:05 +0000)]
* ldlang.c (lang_size_sections): Last, set _cooked_size for output
sections.

20 years ago * reloc.c (bfd_generic_relax_section): Default-set
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:03:44 +0000 (23:03 +0000)]
* reloc.c (bfd_generic_relax_section): Default-set
section->_cooked_size here.
(bfd_generic_get_relocated_section_contents): Don't set it here.
Explain why.

20 years ago * gas/arm/iwmmxt-bad.s: New file.
Ian Lance Taylor [Fri, 17 Oct 2003 22:45:29 +0000 (22:45 +0000)]
* gas/arm/iwmmxt-bad.s: New file.
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.

20 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
Dave Anglin [Fri, 17 Oct 2003 16:43:14 +0000 (16:43 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
output section has been discarded.

20 years agoEnforce PC-relative jumps with --pcrel.
Nick Clifton [Fri, 17 Oct 2003 10:50:27 +0000 (10:50 +0000)]
Enforce PC-relative jumps with --pcrel.

20 years agoFix normal operation for h8300-coff target
Nick Clifton [Fri, 17 Oct 2003 10:23:33 +0000 (10:23 +0000)]
Fix normal operation for h8300-coff target

20 years ago * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
Ian Lance Taylor [Fri, 17 Oct 2003 07:01:44 +0000 (07:01 +0000)]
* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
registers.
(do_iwmmxt_word_addr): With a control register, reject conditional
execution and reject a non-word size.

20 years ago * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the
Ian Lance Taylor [Fri, 17 Oct 2003 06:57:18 +0000 (06:57 +0000)]
* gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the
right disassembly.

20 years ago* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
Christopher Faylor [Fri, 17 Oct 2003 03:30:27 +0000 (03:30 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
sections which lack size info.

20 years ago * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
Danny Smith [Fri, 17 Oct 2003 02:15:53 +0000 (02:15 +0000)]
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
 mingw32.

20 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 17 Oct 2003 01:36:56 +0000 (01:36 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/alpha/elf-reloc-8.d: Updated.

20 years agodaily update
Alan Modra [Fri, 17 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.

20 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 21:04:04 +0000 (21:04 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
use the last CIE from a different section.
(_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
size of the output section.

20 years ago.
Roland McGrath [Thu, 16 Oct 2003 18:55:52 +0000 (18:55 +0000)]
.

20 years ago2003-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 16 Oct 2003 18:55:48 +0000 (18:55 +0000)]
2003-10-07  Roland McGrath  <roland@redhat.com>

* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
new section from p_align header field.

20 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 15:25:54 +0000 (15:25 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-xtensa.c (xtensa_read_table_entries): The external size
of entry is 8 bytes.

20 years ago2003-10-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 15:22:27 +0000 (15:22 +0000)]
2003-10-14  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.

20 years ago * configure.in: Set em=linux for ppc-*-linux-gnu* target.
Alan Modra [Thu, 16 Oct 2003 13:16:26 +0000 (13:16 +0000)]
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
* configure: Regenerate.

20 years ago * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
Alan Modra [Thu, 16 Oct 2003 08:46:35 +0000 (08:46 +0000)]
* Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
GENSCRIPTS and GEN_DEPENDS in place of these.
* Makefile.in: Regenerate.
* genscripts_extra.sh: Delete.  Merge extra functionality to..
* genscripts.sh: ..here.

* emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
* emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.

20 years ago * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
Alan Modra [Thu, 16 Oct 2003 06:26:37 +0000 (06:26 +0000)]
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.

20 years agoIndex: doc/ChangeLog
Andrew Cagney [Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)]
Index: doc/ChangeLog
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.

2003-10-15  Andrew Cagney  <cagney@redhat.com>

* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.

20 years agodaily update
Alan Modra [Thu, 16 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-h8300.c (elf_reloc_map): Fix a comment typo.
Kazu Hirata [Wed, 15 Oct 2003 19:08:10 +0000 (19:08 +0000)]
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.

20 years ago * doc/as.texinfo (Align): Correct list of byte targets.
Alan Modra [Wed, 15 Oct 2003 14:16:29 +0000 (14:16 +0000)]
* doc/as.texinfo (Align): Correct list of byte targets.

20 years agonclude/gdb:
Joern Rennecke [Wed, 15 Oct 2003 12:28:50 +0000 (12:28 +0000)]
nclude/gdb:
        * callback.h (struct host_callback_struct): New members ftruncate
        and truncate.
gdb:
sim/common:
        * callback.c (os_ftruncate, os_truncate): New functions.
        (default_callback): Initialize ftruncate and truncate members.
sim/sh:
        * syscall.h (SYS_truncate, SYS_ftruncate): Define.
        * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.

20 years ago * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Thiemo Seufer [Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Fix indentation. Better error message.

20 years ago[bfd]
Kaz Kojima [Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)]
[bfd]
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.

* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.

[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.

20 years agodaily update
Alan Modra [Wed, 15 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago * elf-bfd.h (struct elf_backend_data): New function pointer member
Kaz Kojima [Tue, 14 Oct 2003 22:43:10 +0000 (22:43 +0000)]
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
        * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
        (elfNN_bed): Add that to the initializer.

20 years agobfd ChangeLog:
Bob Wilson [Tue, 14 Oct 2003 22:28:28 +0000 (22:28 +0000)]
bfd ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section.  Remove unused bfd parameter.  Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name.  Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.

gas ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name.  Formatting.

include ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* elf/xtensa.h: Formatting.  Fix comments about property section
names for linkonce sections.

20 years ago * gettext.m4: Properly quote arguments to AC_DEFUN.
Nathanael Nerode [Tue, 14 Oct 2003 21:40:44 +0000 (21:40 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.

20 years ago * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
Danny Smith [Tue, 14 Oct 2003 06:26:31 +0000 (06:26 +0000)]
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
to identify data symbols.

20 years agodaily update
Alan Modra [Tue, 14 Oct 2003 00:00:28 +0000 (00:00 +0000)]
daily update

20 years ago * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
Nathanael Nerode [Mon, 13 Oct 2003 21:45:29 +0000 (21:45 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.

20 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
Richard Sandiford [Mon, 13 Oct 2003 19:51:10 +0000 (19:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
(_bfd_mips_elf_finish_dynamic_symbol): Don't handle them.  Don't
handle DT_MIPS_MSYM.  Set DT_RELSZ based on the number of relocations
that were needed.
(_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
(_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.