diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2004-07-20 03:07:08 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2004-07-20 03:07:08 +0000 |
commit | e12904d27fcfac19123e57e6cb606045e7e829b9 (patch) | |
tree | 294738a950106b146761d702567923b46885446a /gas/config/tc-hppa.c | |
parent | 83938a4eb95486b967731e0564bdfe81665b87c1 (diff) | |
download | ppe42-binutils-e12904d27fcfac19123e57e6cb606045e7e829b9.tar.gz ppe42-binutils-e12904d27fcfac19123e57e6cb606045e7e829b9.zip |
* config/obj-som.c (adjust_stab_sections): Add prototype.
(obj_som_compiler, obj_som_version, obj_som_copyright,
adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
* config/tc-hppa.c (update_subspace): Likewise.
(is_defined_subspace): Amplify comment.
* config/obj-som.h (som_frob_file): Add prototype.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r-- | gas/config/tc-hppa.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index c060b32b77..777aba6401 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -7982,16 +7982,16 @@ update_subspace (space, name, loadable, code_only, comdat, common, dup_common, sort, zero, access, space_index, alignment, quadrant, section) sd_chain_struct *space; char *name; - int loadable; - int code_only; + int loadable ATTRIBUTE_UNUSED; + int code_only ATTRIBUTE_UNUSED; int comdat; int common; int dup_common; - int zero; + int zero ATTRIBUTE_UNUSED; int sort; int access; - int space_index; - int alignment; + int space_index ATTRIBUTE_UNUSED; + int alignment ATTRIBUTE_UNUSED; int quadrant; asection *section; { @@ -8053,9 +8053,14 @@ pa_segment_to_space (seg) return NULL; } -/* Return the space chain entry for the subspace with the name NAME or - NULL if no such subspace exists. +/* Return the first space chain entry for the subspace with the name + NAME or NULL if no such subspace exists. + When there are multiple subspaces with the same name, switching to + the first (i.e., default) subspace is preferable in most situations. + For example, it wouldn't be desirable to merge COMDAT data with non + COMDAT data. + Uses a linear search through all the spaces and subspaces, this may not be appropriate if we ever being placing each function in its own subspace. */ |