Ian Lance Taylor
0bd28bc4f4
* config/obj-elf.c (elf_begin): New function.
...
(obj_elf_section): Add the section symbol to the symbol table.
* config/obj-elf.h (obj_begin): Define.
(elf_begin): Declare.
* as.c (perform_an_assembly_pass): Call obj_begin if it is
defined.
1996-10-07 15:25:58 +00:00
Ian Lance Taylor
8095b665cb
* as.c (emulation_name): Remove unused static variable.
...
(default_emul_bfd_name): Add return NULL to avoid warning.
* ecoff.c (ecoff_stab): Remove unused variables name and
name_end.
* frags.c (frag_new): Remove unused variable tmp.
* hash.c (hash_grow): Parenthesize + within <<.
(hash_print_statistics): Use %lu, not %d, to print unsigned
long variables.
* messages.c: Include "libiberty.h".
(fprint_value): Add cast to avoid printf warning.
(sprint_value): Likewise.
* read.c: Include "ecoff.h".
(emit_expr): Add casts to avoid printf warnings.
* read.h: Use extern for function declarations.
(pop_insert): Declare.
* stabs.c: Include "ecoff.h".
* subsegs.c (subseg_set_rest): Remove unused variables tmp,
former_last_fragP, and new_fragP.
* subsegs.h (subsegs_print_statistics): Declare.
* symbols.c (debug_verify_symchain): Change macro to discard
arguments.
* write.c (dump_section_relocs): Likewise.
* write.h: Use extern for function declarations.
(write_print_statistics): Declare.
* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
warning.
* config/e-mipself.c (mipself_bfd_name): Likewise.
* config/obj-elf.h (elf_ecoff_set_ext): Declare.
1996-06-19 18:42:42 +00:00
Ken Raeburn
e51a3912ef
SEPARATE_STAB_SECTIONS should be defined to 1, not empty.
1995-05-05 21:44:11 +00:00
Ken Raeburn
5b9a7bef31
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument, ignored.
...
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.
* config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
* config/obj-elf.h (ECOFF_DEBUGGING): Ditto. Test value, not whether it's
defined.
1995-05-04 23:41:32 +00:00
Ken Raeburn
9a36b83fcb
* read.c (pseudo_set, case O_symbol): If OBJ_COPY_SYMBOL_ATTRIBUTES is defined,
...
invoke it.
[BFD_ASSEMBLER]: Copy BSF_FUNCTION setting too.
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
1994-09-19 16:37:32 +00:00
Kung Hsu
ad14517d3c
Modified Files:
...
obj-ecoff.h obj-elf.h
* config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO,
and generate_asm_lineno.
* config/obj-elf.h : ditto.
1994-09-09 01:02:48 +00:00
Kung Hsu
6f89cd429c
Modified Files:
...
obj-ecoff.h obj-elf.h
* config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
* config/obj-elf.h: ditto.
1994-07-08 19:36:55 +00:00
Ian Lance Taylor
c6858c1be5
* ecoff.c (ecoff_frob_symbol): New function. Put undefined
...
symbols of known size in the undefined section. Put small common
symbols in a .scommon section.
* ecoff.h (ecoff_frob_symbol): Declare.
* config/obj-ecoff.h (obj_frob_symbol): Define.
* config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol,
obj_elf_frob_symbol): Removed unused functions.
* config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed
unused macros.
(obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations
of unused functions.
(obj_frob_symbol): Define if ECOFF_DEBUGGING.
1994-01-25 00:26:33 +00:00
Ian Lance Taylor
80903ca67b
* config/obj-elf.h (S_GET_SIZE): Define.
...
(obj_frob_forward_symbol): Define.
* config/tc-i386.c (line_comment_chars): Initialize in all cases.
1993-09-17 22:16:29 +00:00
Ian Lance Taylor
58d4951d00
gcc lint. See ChangeLog for details. Also:
...
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
1993-09-10 16:01:07 +00:00
Ken Raeburn
6a54ad639f
(elf_symbol): Fixed name of elf_symbol_type.
...
No longer conditionalized on sparcv9.
1993-09-03 22:19:09 +00:00
Ken Raeburn
bd4d4b8aca
(obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.
...
(elf_symbol): For sparc v9, use 64-bit symbol type.
1993-07-07 16:22:12 +00:00