This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Arm BE8 mode and mapping sybols


Hi Paul,

+  /* We only want 'a', 't' and 'd' mapping symbols.  */
+  if (! bfd_is_arm_mapping_symbol_name (name)
+      || (name[1] != 'a' && name[1] != 't' && name[1] != 'd'))
     return TRUE;

Actually I think that it would be cleaner if bfd_is_arm_mapping_symbol_name() took a second argument which distinguishes between a request for any mapping symbol versus a request for only-valid-for-modern-ABIs mapping symbol. That way the knowledge about which symbols are valid can be kept in one place, with the code that actually detects them.


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]