mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-28 20:34:54 +08:00
Make elf section functions ELF specific
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@wogglebug.tiac.net>
|
||||||
|
|
||||||
|
* config/tc-ppc.c (ppc_section*): Wrap these functions inside
|
||||||
|
#ifdef OBJ_ELF.
|
||||||
|
|
||||||
Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
* config/obj-elf.c (obj_elf_section): Add hooks so machine
|
* config/obj-elf.c (obj_elf_section): Add hooks so machine
|
||||||
|
@ -1730,6 +1730,7 @@ ppc_macro (str, macro)
|
|||||||
md_assemble (complete);
|
md_assemble (complete);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef OBJ_ELF
|
||||||
/* For ELF, add support for SHF_EXCLUDE and SHT_ORDERED */
|
/* For ELF, add support for SHF_EXCLUDE and SHT_ORDERED */
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -1784,6 +1785,7 @@ ppc_section_flags (flags, attr, type)
|
|||||||
|
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
#endif /* OBJ_ELF */
|
||||||
|
|
||||||
|
|
||||||
/* Pseudo-op handling. */
|
/* Pseudo-op handling. */
|
||||||
|
Reference in New Issue
Block a user