This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[committed] hppa: Update handling of internal labels on hppa-hpux


In a recent build for hppa64-hp-hpux11.11, the build failed in stage2 due to a warning about the format used in the  ASM_GENERATE_INTERNAL_LABEL macro.  This got me looking at the implementation in elfos.h.  I also realized that there was no good reason to limit the number of labels to 9999 and
to prefix the label numbers with zeros.

The attached patch revises the label generation on hppa-hpux to use the same technique as used in
config/elfos.h.

Tested on hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu with no
observed regressions.

Committed to trunk.

Dave

--
John David Anglin  dave.anglin@bell.net

Attachment: ASM_GENERATE_INTERNAL_LABEL-2.d
Description: Text document


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