Bug 6006 - thin archive support breaks existing archives
Summary: thin archive support breaks existing archives
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.19
: P2 normal
Target Milestone: ---
Assignee: Cary Coutant
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 08:35 UTC by Alan Modra
Modified: 2008-03-31 23:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
testcase (3.03 KB, application/octet-stream)
2008-03-31 08:36 UTC, Alan Modra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Modra 2008-03-31 08:35:31 UTC
Note the file name weirdness.
$ binutils/ar tv /src/tmp/libxxx.a
rw-r--r-- 500/100   4608 Mar 31 18:39 2008 lib_a-strcasecmp.o/
lib_a-strcasestr.o/

rw-r--r-- 500/100   5152 Mar 31 18:39 2008 lib_a-strcasestr.o/

expected:
$ ar tv /src/tmp/libxxx.a
rw-r--r-- 500/100   4608 Mar 31 18:39 2008 lib_a-strcasecmp.o
rw-r--r-- 500/100   5152 Mar 31 18:39 2008 lib_a-strcasestr.o
Comment 1 Alan Modra 2008-03-31 08:36:33 UTC
Created attachment 2343 [details]
testcase
Comment 2 Cary Coutant 2008-03-31 21:18:25 UTC
When Nick reviewed my patch, he did some additional code cleanup and
changed several instances of '\012' to ARFMAG[0]. That should have
been ARFMAG[1].