OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agogas/
jbeulich [Thu, 27 Oct 2005 07:40:07 +0000 (07:40 +0000)]
gas/
2005-10-27  Jan Beulich  <jbeulich@novell.com>

* read.c (assign_symbol): Also consider equates already defined.
* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
* config/obj-coff.h (obj_symbol_clone_hook): New.
(coff_obj_symbol_clone_hook): Declare.
* config/obj-coff.c (coff_obj_symbol_clone_hook): New.

gas/testsuite/
2005-10-27  Jan Beulich  <jbeulich@novell.com>

* gas/all/gas.exp: Don't xfail equiv1 test anymore.

19 years ago * cpu/m32r.opc (parse_hi16): Do not assume a 32-bit host word size.
amodra [Thu, 27 Oct 2005 06:57:56 +0000 (06:57 +0000)]
* cpu/m32r.opc (parse_hi16): Do not assume a 32-bit host word size.

19 years ago PR 973
amodra [Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)]
PR 973
* cache.c (enum cache_flag): New.
(close_one): Save file mtime.
(bfd_cache_lookup): Add flag arg, adjust all users.
(bfd_cache_lookup_worker): Likewise.
(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
not open.
(cache_bflush): Similarly, and return success of file not open.
(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
(cache_bstat): Use CACHE_NO_SEEK_ERROR.

19 years ago * bfdwin.c (bfd_get_file_window): Seek into file in place of
amodra [Thu, 27 Oct 2005 04:06:35 +0000 (04:06 +0000)]
* bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.

19 years ago * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
amodra [Thu, 27 Oct 2005 03:36:56 +0000 (03:36 +0000)]
* cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
* libbfd.h: Regenerate.

19 years ago * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
amodra [Thu, 27 Oct 2005 03:35:30 +0000 (03:35 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

19 years ago * cache.c: Reorganize file to avoid forward reference.
amodra [Thu, 27 Oct 2005 03:22:12 +0000 (03:22 +0000)]
* cache.c: Reorganize file to avoid forward reference.

19 years agodaily update
amodra [Thu, 27 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 27 Oct 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-10-26 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Wed, 26 Oct 2005 22:16:34 +0000 (22:16 +0000)]
2005-10-26  Shaun Jackman  <sjackman@gmail.com>

        * libc/posix/scandir.c (scandir): Update the function
        prototype to match the header.
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
        extraneous #endif.
        * libc/sys/linux/sys/lock.h: Do not include
        machine/weakalias.h, since it's not used by this file.

19 years ago2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 Oct 2005 22:10:51 +0000 (22:10 +0000)]
2005-10-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
        directories can override properly.

19 years ago* config/tc-m32c.c (md_relax_table, subtype_mappings,
dj [Wed, 26 Oct 2005 20:42:00 +0000 (20:42 +0000)]
* config/tc-m32c.c (md_relax_table, subtype_mappings,
md_convert_frag): Add jsr.w support.

19 years ago* config/tc-m32c.c (md_assemble): Don't use errmsg as the format
dj [Wed, 26 Oct 2005 19:24:20 +0000 (19:24 +0000)]
* config/tc-m32c.c (md_assemble): Don't use errmsg as the format
itself.
(md_cgen_lookup_reloc): Add m32c bitbase operands.  Add 8-s24
and imm-8-HI operands.

19 years ago* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
dj [Wed, 26 Oct 2005 14:59:10 +0000 (14:59 +0000)]
* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
(mov-dspsp-dst-defn, mov-src-dspsp-defn, mov16-dspsp-dst-defn,
mov16-src-dspsp-defn, mov32-dspsp-dst-defn, mov32-src-dspsp-defn):
dsp8[sp] is signed.
(mov.WL:S #imm,A0/A1): dsp24 is signed (i.e. -0x800000..0xffffff).
(mov.BW:S r0,r1): Fix typo r1l->r1.
(tst): Allow :G suffix.
* m32c.opc (parse_signed24): New, for -0x800000..0xffffff.

* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

19 years ago2005-10-26 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 26 Oct 2005 14:09:29 +0000 (14:09 +0000)]
2005-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Correct "sel" entry.
gas/testsuite/
* gas/arm/archv6.d: Adjust expected output.
opcodes/
* arm-dis.c (arm_opcodes): Correct "sel" entry.

19 years agogas/
jbeulich [Wed, 26 Oct 2005 12:29:43 +0000 (12:29 +0000)]
gas/
2005-10-26  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (i386_operand): Don't check register prefix here.
(parse_real_register): Rename from parse_register.
(parse_register): New.
(i386_parse_name): New.
(md_operand): New.
(intel_e11): Don't tolerate registers in offset expressions anymore.
(intel_get_token): Don't check register prefix here. Copy the actual
register token, not the canonical register name.
* config/tc-i386.h (md_operand): Delete.
(i386_parse_name): Declare.
(md_parse_name): Define.

gas/testsuite/
2005-10-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.s: Replace register used in offset expression.
* gas/i386/intel.e: Adjust.
* gas/i386/intelbad.l: Adjust.
* gas/i386/equ.[sed]: New.
* gas/i386/i386.exp: Run new test.

19 years ago * cache.c (bfd_cache_lookup_worker): Don't abort on failing to
amodra [Wed, 26 Oct 2005 12:17:42 +0000 (12:17 +0000)]
* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
reopen file.
(cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on
bfd_cache_lookup failure.
(cache_bread, cache_bwrite): Return 0 on the same.
* bfdwin.c (bfd_get_file_window): Likewise.
* hppabsd-core.c (hppabsd_core_core_file_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

19 years ago * ld-elf/empty2.d: Allow more symbols.
amodra [Wed, 26 Oct 2005 07:53:15 +0000 (07:53 +0000)]
* ld-elf/empty2.d: Allow more symbols.

19 years ago * m32r.opc (parse_hi16): Do not assume a 32-bit host word size.
amodra [Wed, 26 Oct 2005 07:49:05 +0000 (07:49 +0000)]
* m32r.opc (parse_hi16): Do not assume a 32-bit host word size.

19 years ago * cache.c (bfd_cache_lookup_worker): Use bfd_error_handler
amodra [Wed, 26 Oct 2005 07:38:25 +0000 (07:38 +0000)]
* cache.c (bfd_cache_lookup_worker): Use bfd_error_handler
rather than bfd_perror.  Print file name.  Internationalise.

19 years ago * cache.c (bfd_open_file): Set bfd_error_system_call on failure
amodra [Wed, 26 Oct 2005 04:29:53 +0000 (04:29 +0000)]
* cache.c (bfd_open_file): Set bfd_error_system_call on failure
to open file.
(bfd_cache_lookup_worker): Remove check that file pos is in
unsigned long range.  Print system error before aborting.

19 years ago * ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols between
hp [Wed, 26 Oct 2005 01:34:05 +0000 (01:34 +0000)]
* ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols between
section symbols and the _start symbol.

19 years ago * gas/z80/z80.exp: Fix misplaced-open-brace typo.
hp [Wed, 26 Oct 2005 01:32:24 +0000 (01:32 +0000)]
* gas/z80/z80.exp: Fix misplaced-open-brace typo.

19 years agodaily update
amodra [Wed, 26 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 26 Oct 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
dj [Tue, 25 Oct 2005 18:52:01 +0000 (18:52 +0000)]
* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
making one a macro of the other.

* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

19 years agooops - omitted from previous delta
nickc [Tue, 25 Oct 2005 17:42:02 +0000 (17:42 +0000)]
oops - omitted from previous delta

19 years agoAdd support for the Z80 processor family
nickc [Tue, 25 Oct 2005 17:40:08 +0000 (17:40 +0000)]
Add support for the Z80 processor family

19 years ago PR ld/1540
amodra [Tue, 25 Oct 2005 16:19:05 +0000 (16:19 +0000)]
PR ld/1540
* elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to
elf_backend_data with pointer to bfd_link_info.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise.  Handle
direct and indirect symbols both having dynamic link info.
* elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
* elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype.
* elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise.

19 years ago2005-10-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 25 Oct 2005 14:07:44 +0000 (14:07 +0000)]
2005-10-25  H.J. Lu  <hongjiu.lu@intel.com>

* write.c (adjust_reloc_syms): Undo the change made on
2005-04-26 to allow local symbol set to undefined symbol.

19 years ago * regformats/reg-ia64.dat: Remove NAT registers.
schwab [Tue, 25 Oct 2005 11:11:06 +0000 (11:11 +0000)]
* regformats/reg-ia64.dat: Remove NAT registers.

gdbserver:
* server.c (main): Allocate mem_buf with PBUFSIZ bytes.

* linux-ia64-low.c (ia64_regmap): Remove NAT registers.
(ia64_num_regs): Reduce to 462.

19 years ago2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 25 Oct 2005 04:48:04 +0000 (04:48 +0000)]
2005-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (bfin-parse.tab.h): Removed.
(bfin-parse.h): Added.
* Makefile.in: Regenerated.

19 years agoRegenerate
amodra [Tue, 25 Oct 2005 02:20:15 +0000 (02:20 +0000)]
Regenerate

19 years ago*** empty log message ***
gdbadmin [Tue, 25 Oct 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 25 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * ld.texinfo (--reduce-memory-overheads): Fix typo.
amodra [Mon, 24 Oct 2005 23:07:12 +0000 (23:07 +0000)]
* ld.texinfo (--reduce-memory-overheads): Fix typo.

19 years ago * ld-elf/orphan.d: Adjust for mips.
amodra [Mon, 24 Oct 2005 23:06:19 +0000 (23:06 +0000)]
* ld-elf/orphan.d: Adjust for mips.

19 years ago* operand.scm (-anyof-merge-syntax): Print a more useful error
dj [Mon, 24 Oct 2005 22:56:45 +0000 (22:56 +0000)]
* operand.scm (-anyof-merge-syntax): Print a more useful error
message.

19 years ago * gas/bfin/flow2.d: Match changed assembler behaviour.
bernds [Mon, 24 Oct 2005 18:42:37 +0000 (18:42 +0000)]
* gas/bfin/flow2.d: Match changed assembler behaviour.
* gas/bfin/reloc.d: Likewise.

19 years ago * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
bernds [Mon, 24 Oct 2005 18:35:59 +0000 (18:35 +0000)]
* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
make a single reloc with an offset rather than a stack.
* config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.

19 years agoAdd self as Blackfin maintainer.
bernds [Mon, 24 Oct 2005 18:23:27 +0000 (18:23 +0000)]
Add self as Blackfin maintainer.

19 years agogas/ChangeLog:
aoliva [Mon, 24 Oct 2005 17:51:41 +0000 (17:51 +0000)]
gas/ChangeLog:
* read.c (potable): Add weakref.
(s_weakref): New.
* read.h (s_weakref): Declare.
* struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
* symbols.c (colon): Clear weakrefr.
(symbol_find_exact): Rename to, and reimplement in terms of...
(symbol_find_exact_noref): ... new function.
(symbol_find): Likewise...
(symbol_find_noref): ... ditto.
(resolve_symbol_value): Resolve weakrefr without setting their
values.
(S_SET_WEAK): Call hook.
(S_GET_VALUE): Follow weakref link.
(S_SET_VALUE): Clear weakrefr.
(S_IS_WEAK): Follow weakref link.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
(symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
(symbol_mark_used): Follow weakref link.
(print_symbol_value_1): Print weak, weakrefr and weakrefd.
* symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
* write.c (adust_reloc_syms): Follow weakref link.  Do not
complain if target is undefined.
(write_object_file): Likewise.  Remove weakrefr symbols.  Drop
unreferenced weakrefd symbols.
* config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
symbols EXTERNAL.
(pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
* config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
* doc/as.texinfo: Document weakref.
* doc/internals.texi: Document new struct members, internal
functions and hooks.
gas/testsuite/ChangeLog:
* gas/all/weakref1.s, gas/all/weakref1.d: New test.
* gas/all/weakref1g.d, gas/all/weakref1l.d: New tests.
* gas/all/weakref1u.d, gas/all/weakref1w.d: New tests.
* gas/all/weakref2.s, gas/all/weakref3.s: New tests.
* gas/all/gas.exp: Run new tests.

19 years agobfd/
jiez [Mon, 24 Oct 2005 16:31:19 +0000 (16:31 +0000)]
bfd/
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness
warning.
gas/
* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
* Makefile.in: Regenerate.
* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
* config/tc-bfin.c (md_chars_to_number): Change the type of first
argument from unsigned char * to char * to remove signedness warnings.

19 years ago* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.
cgf [Mon, 24 Oct 2005 15:42:14 +0000 (15:42 +0000)]
* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.

19 years ago * spawn.cc (spawn_guts): Don't leave the function with return inside
corinna [Mon, 24 Oct 2005 15:17:54 +0000 (15:17 +0000)]
* spawn.cc (spawn_guts): Don't leave the function with return inside
pthread cleanup brackets.

19 years ago* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
cgf [Mon, 24 Oct 2005 15:09:05 +0000 (15:09 +0000)]
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
(cygheap_fdenum::rewind): Ditto.
* pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating.
* times.cc (utimes_worker): Ditto.

19 years ago * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
jiez [Mon, 24 Oct 2005 14:25:12 +0000 (14:25 +0000)]
* elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
(bfin_imm16_reloc): Always add in the addend.  Don't fetch existing
contents from section.
(bfin_relocate_section): Rework so as to not call special_functions.
Handle the relocation stack here.  Treat pcrel24 relocs specially.

19 years ago * elflink.c (elf_link_input_bfd): Don't use linker_mark and
amodra [Mon, 24 Oct 2005 11:24:31 +0000 (11:24 +0000)]
* elflink.c (elf_link_input_bfd): Don't use linker_mark and
SEC_EXCLUDE to test for sections dropped from output.  Instead,
use bfd_section_removed_from_list on normal sections.  Don't
attempt to handle symbols with unknown reserved section indices.
* linker.c (_bfd_generic_link_output_symbols): Don't use
linker_mark to test for symbols belonging to dropped sections.
Do allow absolute symbols.

19 years ago * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
amodra [Mon, 24 Oct 2005 11:18:02 +0000 (11:18 +0000)]
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

19 years agold/testsuite/
jbeulich [Mon, 24 Oct 2005 07:48:46 +0000 (07:48 +0000)]
ld/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ld-elf/empty2.[sd]: New.

19 years agoinclude/opcode/
jbeulich [Mon, 24 Oct 2005 07:42:49 +0000 (07:42 +0000)]
include/opcode/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.

bfd/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.

gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.

opcodes/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64-asmtab.c: Regenerate.

19 years agogas/
jbeulich [Mon, 24 Oct 2005 07:36:38 +0000 (07:36 +0000)]
gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (declare_register): Call symbol_create.
(md_begin): Remove local variables total, ar_base, and cr_base.
Start loops for registers at their respective first one. Don't
update md.regsym for alias names. Generate alias name tp for r13.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/regs.pl: Also check tp alias of r13.
* gas/ia64/regs.s: Regenerate.
* gas/ia64/regs.d: Adjust.

19 years ago * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
amodra [Mon, 24 Oct 2005 04:32:50 +0000 (04:32 +0000)]
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

19 years ago2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 24 Oct 2005 02:50:26 +0000 (02:50 +0000)]
2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_init_private_section_data with
_bfd_generic_init_private_section_data.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

19 years agobfd/
hjl [Mon, 24 Oct 2005 01:40:57 +0000 (01:40 +0000)]
bfd/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* elf-bfd.h (_bfd_generic_init_private_section_data): New.
(_bfd_elf_init_private_section_data): New.

* elf.c (elf_fake_sections): Don't set SHF_GROUP for
relocatable link.
(bfd_elf_set_group_contents): Don't handle relocatable link
specially.
(assign_section_numbers): If it isn't called by assembler,
use the output section of elf_linked_to_section for
SHF_LINK_ORDER.
(_bfd_elf_init_private_section_data): New.
(_bfd_elf_copy_private_section_data): Call it.

* libbfd-in.h (_bfd_generic_init_private_section_data): New.

* libbfd.c (_bfd_generic_init_private_section_data): New.

* targets.c (BFD_JUMP_TABLE_COPY): Add
_bfd_generic_init_private_section_data.
(bfd_init_private_section_data): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

ld/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
bfd_match_sections_by_type to match section types.

* ldlang.c (init_os): Take the input section. Call
bfd_init_private_section_data if the input section isn't NULL.
(exp_init_os): Pass NULL to init_os.
(map_input_to_output_sections): Likewise.
(lang_add_section): Pass the input section to init_os.

ld/testsuite/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* ld-ia64/tlspic.rd: Updated.

19 years agoadd missing ChangeLog entry
cgf [Mon, 24 Oct 2005 00:02:05 +0000 (00:02 +0000)]
add missing ChangeLog entry

19 years agodaily update
amodra [Mon, 24 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 24 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer
cgf [Sun, 23 Oct 2005 23:47:44 +0000 (23:47 +0000)]
* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer
deadlocks.
(class locked_process): Move to another header.
* sync.h (lock_process): Define here.
* cygtls.cc (_cygtls::fixup_after_fork): Reset spinning state as well as
stacklock state.
* dcrt0.cc (lock_process::locker): Define.
(dtable::lock_cs): Delete.
* dtable.cc (dtable_init): Eliminate call to init_lock().
(dtable::fixup_after_fork): Ditto.
(dtable::init_lock): Delete definition.
* dtable.h (dtable::init_lock): Delete declaration.
(dtable::lock): Use process lock rather than dtable-specific lock.
(dtable::unlock): Ditto.
* sigproc.cc (sigproc_init): Minor change to debugging output.
* times.cc (utime_worker): Use build_fh_pc rather than reinterpreting the posix
path name again.  Return any error from path_conv immediately.

19 years ago * elf64-ppc.c (dec_dynrel_count): Don't report errors for local
amodra [Sun, 23 Oct 2005 13:12:06 +0000 (13:12 +0000)]
* elf64-ppc.c (dec_dynrel_count): Don't report errors for local
syms in gc'd sections.
(ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS.
(elf_backend_action_discarded): Define.
(ppc64_elf_action_discarded): New function.

19 years ago*** empty log message ***
gdbadmin [Sun, 23 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 23 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * fhandler_socket.cc (fhandler_socket::connect): Don't restrict
corinna [Sat, 22 Oct 2005 16:02:15 +0000 (16:02 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Don't restrict
WSAEINVAL -> WSAEISCONN conversion to nonblocking sockets.
(fhandler_socket::accept): Use event driven technique to implement
interuptible accept.
(fhandler_socket::wait): Allow FD_ACCEPT handling.
* net.cc (cygwin_accept): Remove workaround for allowing blocking
accept.  That's entirely in fhandler_socket::accept now.

19 years ago* rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
kettenis [Sat, 22 Oct 2005 15:12:31 +0000 (15:12 +0000)]
* rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
(rs6000_info_powerpc_command): Remove function.

19 years ago * fhandler.h (class fhandler_socket): Add timeout parameter to wait()
corinna [Sat, 22 Oct 2005 15:11:48 +0000 (15:11 +0000)]
* fhandler.h (class fhandler_socket): Add timeout parameter to wait()
method.
* fhandler_socket.cc (fhandler_socket::connect): Use event driven
technique (prepare/wait/release) to implement interuptible connect.
(fhandler_socket::wait): Add timeout parameter.  Allow FD_CONNECT
handling.
* net.cc (cygwin_connect): Remove braindead workaround for allowing
blocking connect.  That's entirely in fhandler_socket::connect now.

19 years ago2005-10-22 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 22 Oct 2005 10:37:55 +0000 (10:37 +0000)]
2005-10-22  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.

19 years ago * include/cygwin/version.h: Fix typo.
corinna [Sat, 22 Oct 2005 10:28:01 +0000 (10:28 +0000)]
* include/cygwin/version.h: Fix typo.

19 years ago* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
dj [Sat, 22 Oct 2005 00:04:26 +0000 (00:04 +0000)]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs.  Print
names unstead of numbers.

19 years ago[cpu]
dj [Sat, 22 Oct 2005 00:03:12 +0000 (00:03 +0000)]
[cpu]
* m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing.
(indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl,
indexld, indexls): .w variants have `1' bit.
(rot32.b): QI, not SI.
(rot32.w): HI, not SI.
(xchg16): HI for .w variant.

[opcodes]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

19 years agodaily update
amodra [Sat, 22 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 22 Oct 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoFix typo
mmitchel [Fri, 21 Oct 2005 23:31:33 +0000 (23:31 +0000)]
Fix typo

19 years ago * texi2pod.pl: Substitue for @value even when part of @include.
mmitchel [Fri, 21 Oct 2005 23:29:22 +0000 (23:29 +0000)]
* texi2pod.pl: Substitue for @value even when part of @include.

19 years ago2005-10-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 21 Oct 2005 21:18:05 +0000 (21:18 +0000)]
2005-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* ld-elf/orphan.d: New file.
* ld-elf/orphan.ld: Likewise.
* ld-elf/orphan.s: Likewise.

19 years ago * texi2pod.pl: Import latest version from GCC.
bwilson [Fri, 21 Oct 2005 18:08:07 +0000 (18:08 +0000)]
* texi2pod.pl: Import latest version from GCC.

19 years agobfin-dis.c: Tidy up code, removing redundant constructs.
nickc [Fri, 21 Oct 2005 16:28:17 +0000 (16:28 +0000)]
bfin-dis.c: Tidy up code, removing redundant constructs.

19 years ago* dir.cc (rmdir): Eliminate nonsensical code.
cgf [Fri, 21 Oct 2005 14:08:19 +0000 (14:08 +0000)]
* dir.cc (rmdir): Eliminate nonsensical code.
* fork.cc (fork): Move exit debug_printf to last statement.

19 years ago * dwarf2read.c (isreg): Removed.
schwab [Fri, 21 Oct 2005 09:14:48 +0000 (09:14 +0000)]
* dwarf2read.c (isreg): Removed.
(decode_locdesc): Don't set it.

19 years ago * Makefile.in (YYFILES): Add ada-lex.c
brobecke [Fri, 21 Oct 2005 06:26:27 +0000 (06:26 +0000)]
    * Makefile.in (YYFILES): Add ada-lex.c

19 years agodaily update
amodra [Fri, 21 Oct 2005 00:00:13 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 21 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 20 Oct 2005 21:42:32 +0000 (21:42 +0000)]
2005-10-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
        gcc is 3.3 or greater, use special gcc builtins.

19 years ago2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 20 Oct 2005 20:17:50 +0000 (20:17 +0000)]
2005-10-20  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and
        BUILD_CRT0_FALSE.
        * arm/configure: Regenerate.

19 years ago2005-10-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 20 Oct 2005 17:54:53 +0000 (17:54 +0000)]
2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ia64/ia64.exp: Undo the last change. Add support for *.d.

* ld-ia64/link-order.d: New file.

19 years agobinutils/testsuite/
hjl [Thu, 20 Oct 2005 17:06:39 +0000 (17:06 +0000)]
binutils/testsuite/

2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/251
* binutils-all/group.s: New file.

* binutils-all/objcopy.exp (objcopy_test_readelf): New
procedure.
Use it to test ELF group.

ld/testsuite/

2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/251
* ld-elf/group.2d: New file.

19 years ago * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
corinna [Thu, 20 Oct 2005 14:38:56 +0000 (14:38 +0000)]
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.

19 years ago * cygwin.din (futimes): Export.
corinna [Thu, 20 Oct 2005 14:26:22 +0000 (14:26 +0000)]
* cygwin.din (futimes): Export.
(lutimes): Export.
* times.cc (utimes_worker): Created from utimes, add nofollow flag
to implement utimes and lutimes.
(utimes): Just call utimes_worker.
(lutimes): New function.
(futimes): Ditto.
* include/cygwin/version.h: Bump API minor version.

19 years ago PR bootstrap/18939
ebotcazou [Thu, 20 Oct 2005 12:01:14 +0000 (12:01 +0000)]
PR bootstrap/18939
* Makefile.def (gcc) <target>: Fix thinko.
* Makefile.in: Regenerate.

19 years agodaily update
amodra [Thu, 20 Oct 2005 00:09:01 +0000 (00:09 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 20 Oct 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.
cgf [Wed, 19 Oct 2005 22:25:45 +0000 (22:25 +0000)]
* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.
* spawn.cc (spawn_guts): Correct check for top-level process.

19 years ago* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.
cgf [Wed, 19 Oct 2005 22:13:04 +0000 (22:13 +0000)]
* sigproc.cc (child_info::sync): Move check for !wr_proc_pipe lower.
* spawn.cc (spawn_guts): Correct check for top-level process.

19 years agobinutils/testsuite/
hjl [Wed, 19 Oct 2005 20:49:02 +0000 (20:49 +0000)]
binutils/testsuite/

2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1487
* binutils-all/objcopy.exp (objcopy_test): New procedure.
Use it to test simple copy, ia64 link order and ELF unknown
section type.

* binutils-all/unknown.s: New file.

ld/testsuite/

2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1487
* ld-elf/unknown.d: New file.

19 years ago * autoload.cc: Revert loading rcmd, rexec, rresvport and inet_network
corinna [Wed, 19 Oct 2005 19:55:30 +0000 (19:55 +0000)]
* autoload.cc: Revert loading rcmd, rexec, rresvport and inet_network
from wsock32.dll since these symbols are not exported from ws2_32.dll.

19 years ago* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
davidu [Wed, 19 Oct 2005 18:47:08 +0000 (18:47 +0000)]
* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
hence avoiding to emit a nop.

* gas/mips/mips.exp: Run new test.
* gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting
jalr/jr to the compact jalrc/jrc instructions.
* gas/testsuite/gas/mips/mips16e-jrc.d: New.

19 years ago2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 19 Oct 2005 18:33:25 +0000 (18:33 +0000)]
2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ia64/ia64.exp: Check link order for ld -r.

19 years ago2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 19 Oct 2005 17:39:43 +0000 (17:39 +0000)]
2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1321
* binutils-all/link-order.s: New.

* binutils-all/objcopy.exp: Check ia64 link order.

19 years ago* times.cc (utimes): Only consider fds opened with write access.
cgf [Wed, 19 Oct 2005 17:11:24 +0000 (17:11 +0000)]
* times.cc (utimes): Only consider fds opened with write access.

19 years ago* fhandler_disk_file.cc (fhandler_base::utimes_fs): Use existing handle if
cgf [Wed, 19 Oct 2005 16:50:43 +0000 (16:50 +0000)]
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Use existing handle if
fhandler has one.
* times.cc (utimes): Scan open fds for matching paths and use existing fhandler
if one exists.

19 years ago* elf32-arm.c (find_arm_elf_section_entry): New function.
nickc [Wed, 19 Oct 2005 15:40:22 +0000 (15:40 +0000)]
* elf32-arm.c (find_arm_elf_section_entry): New function.
  (get_arm_elf_section_data): Use it.
  (unrecord_section_with_arm_elf_section_data): Use it.