diff options
author | Jeff Law <law@redhat.com> | 1993-10-31 07:48:41 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-10-31 07:48:41 +0000 |
commit | e75acd689b12126432ca1ef8659d388475f12473 (patch) | |
tree | 6327aa6b6ebea902f010b3b560d52279dca2bd78 /gas/config/obj-som.h | |
parent | d191a03cf56cf612a8f2a41baee173757ad661c3 (diff) | |
download | gdb-e75acd689b12126432ca1ef8659d388475f12473.zip gdb-e75acd689b12126432ca1ef8659d388475f12473.tar.gz gdb-e75acd689b12126432ca1ef8659d388475f12473.tar.bz2 |
* config/obj-som.h (obj_set_symbol_type): Define a hook so GAS
can properly set all the SOM symbol types.
* config/tc-hppa.c (pa_symbol_type): New enum to represent the
symbol types which can be set from an IMPORT/EXPORT statement.
(pa_export_args): Set the pa_symbol_type type based on arguments.
If defined, call obj_set_symbol_type to pass this information on
to the BFD backend.
Diffstat (limited to 'gas/config/obj-som.h')
-rw-r--r-- | gas/config/obj-som.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/obj-som.h b/gas/config/obj-som.h index 0078873..b97a8c0 100644 --- a/gas/config/obj-som.h +++ b/gas/config/obj-som.h @@ -61,6 +61,9 @@ extern void obj_som_init_stab_section PARAMS ((segT)); #define obj_set_section_attributes bfd_som_set_section_attributes #define obj_set_subsection_attributes bfd_som_set_subsection_attributes +/* Likewise for symbol types. */ +#define obj_set_symbol_type bfd_som_set_symbol_type + /* Stabs go in a separate sections. GDB expects to find them in sections with the names $GDB_SYMBOLS$ and $GDB_STRINGS$ rather than .stab and .stabstr. */ |