merge from gcc

This commit is contained in:
DJ Delorie 2010-11-17 02:03:39 +00:00
parent 2988dfa72b
commit 7ee4d16356
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2010-11-16 Ian Lance Taylor <iant@google.com>
* simple-object.h (simple_object_attributes_merge): Declare,
replacing simple_object_attributes_compare.
2010-11-16 Jie Zhang <jie.zhang@analog.com> 2010-11-16 Jie Zhang <jie.zhang@analog.com>
* elf/bfin.h (EF_BFIN_CODE_IN_L1): Define. * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.

View File

@ -117,14 +117,15 @@ extern simple_object_attributes *
simple_object_fetch_attributes (simple_object_read *simple_object, simple_object_fetch_attributes (simple_object_read *simple_object,
const char **errmsg, int *err); const char **errmsg, int *err);
/* Compare ATTRS1 and ATTRS2. If they could be linked together /* Merge the FROM attributes into TO. If two objects with these
without error, return NULL. Otherwise, return an error message, attributes could be linked together without error, returns NULL.
set *ERR to an errno value or 0 if there isn't one. */ Otherwise, returns an error message, and sets *ERR to an errno
value or 0 if there isn't one. */
extern const char * extern const char *
simple_object_attributes_compare (simple_object_attributes *attrs1, simple_object_attributes_merge (simple_object_attributes *to,
simple_object_attributes *attrs2, simple_object_attributes *from,
int *err); int *err);
/* Release all resources associated with ATTRS. */ /* Release all resources associated with ATTRS. */